1

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.

Graham Polley
  • 14,393
  • 4
  • 44
  • 80
ShiraP
  • 85
  • 2
  • 2
  • 8

1 Answers1

0

From the docs: "Currently, legacy SQL is not supported for querying partitioned tables or for writing query results to partitioned tables".

So, in this case, because Legacy can't write to partitioned tables, which seems to be a major blocking with no workarounds, you would have to use Standard SQL or Dataflow, as detailed in the answers of the question provided by Graham.

Héctor Neri
  • 1,384
  • 9
  • 13