Code Monkey home page Code Monkey logo

Comments (5)

samelamin avatar samelamin commented on May 28, 2024

YEs we can use table decorators using the api but this functionality is not part of the package at the moment. Sounds like what you are intending to do is a one off so I suggest using dataflow to write to the tables. no need to use spark at all if it is a one off

Table decorators would be a good feature to work on so I am marking this issue as a feature request

from spark-bigquery.

kurtmaile avatar kurtmaile commented on May 28, 2024

Cool thanks would be super cool - I dont know dataflow, my spark job is pretty long, and acutally reuses some of my library to do computations (like currency converting for example) - porting to a different API (Beam) would take a mear mortal like me ages - as much as I would love to get dirty with DF and be able to say I could pick it up like that and move to java (after Scala - yuk!) hehe. Wish I could.

Ill just have to make do with non partitioned, thanks for replying

p.s - still thinking about the offer, its possible if I could span out the payments longer perhaps?

from spark-bigquery.

samelamin avatar samelamin commented on May 28, 2024

perhaps do all your transformations and save the result to partitioned files locally? then write a simple script to upload the tables to the correct tables using the bq command line?

Yeah sure just drop me an email and we can work out the details

from spark-bigquery.

samelamin avatar samelamin commented on May 28, 2024

this has been fixed with version 0.2.1. @kurtmaile

from spark-bigquery.

kurtmaile avatar kurtmaile commented on May 28, 2024

from spark-bigquery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.