-
Notifications
You must be signed in to change notification settings - Fork 25
export to BigQuery with partition does not seem to work #177
Comments
@lvvvvvf I see you authored the export to BigQuery samples, could you take a look? |
Add Ziqi who's the poc for partitioned table |
@Larittic-GG Could you take a look? |
Sorry for the late reply. First, for "created table does not seemed partitioned in BQ", can you recheck what the table details page? The Table Type row should display "Partitioned". Secondly, for every value of the partition key enum other than PARTITION_KEY_UNSPECIFIED, the table is actually partitioned by daily granularity. See details about BigQuery partitioned table in https://cloud.google.com/bigquery/docs/partitioned-tables. Let me know if you have more questions. Thanks! |
I found it a bit confusing that the partition key was bound inside the output_config. This code works for me ` if partition_key: try:
` |
I'm going to close this issue due to inactivity. Please feel free to re-open it if you have additional questions. |
Hi,
When i tried to export asset data to the BigQuery, it is working fine. But, if I add partition option, created table does not seemed partitioned in BQ.
In the SDK, there are only 3 enums are available for partition_key, is there any way to get partition by DAY?
Thanks,
The text was updated successfully, but these errors were encountered: