I have some Insert queries written in hive to be migrated in Bigquery. For example:
insert into test.abc partition(yrmth) select * from test.xyz
In Bigquery, partition is only supported in YYYYMMDD
format. I'm able to dump the data in partitioned table through BQ command line tool by loading test.abc$20171125
.
How can I achieve the same using DML statements in Bigquery?
I have learnt that Legacy SQL doesn't support writing DML statements and Standard SQL doesn't support the table specifications like test.abc$20171125
that is required for loading the data in corresponding partition.