BigQuery - Converting from non-partitioned to partitioned table - Legacy SQL


BigQuery - Converting from non-partitioned to partitioned table - Legacy SQL



I've looked at previous questions, but the links given to GCP were outdated so I would like to learn what is the best way to do the conversion while inserting the correct partition (meaning not the day i inserted the records, but according to the "date" column.



Could someone point me in the right direction, specifically for Legacy SQL.





Did you read this? stackoverflow.com/questions/38993877/…
– Graham Polley
Jul 2 at 13:45





Why legacy? For querying afterwards, or for running the process?
– Felipe Hoffa
Jul 2 at 23:25





@GrahamPolley - thank you!, I have - but this method is for Standard SQL, Isn't it?
– ShiraP
Jul 3 at 8:52





@FelipeHoffa - I prefer legacy, I know it's not the common approach but that's what I use currently for my queries. so I assume for your questions - both yes :)
– ShiraP
Jul 3 at 8:52





I strongly recommend you stop using legacySQL unless you're absolutely tied to it for some reason.
– Graham Polley
Jul 3 at 13:18









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

api-platform.com Unable to generate an IRI for the item of type

How to set up datasource with Spring for HikariCP?

Display dokan vendor name on Woocommerce single product pages