File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -335,8 +335,8 @@ def gcp_bucket_to_dataset(
335
335
# job config does not let you upload to the _PARTITIONTIME because it is a prebuild column in
336
336
# bigquery. However, we do have permission to update it.
337
337
# TODO there is likely a bug on koku side for month boundary - update this to set different
338
- # partitions for previous and current months to investigate it
339
- # e.g., but using end_time intead of start time , or by using export_time (would have to be adjusted first)
338
+ # partition time for some items in a day to investigate it - e.g., by using usage_end_time instead
339
+ # of usage_start_time , or by using export_time (would have to be adjusted first)
340
340
partition_date_sql = f"""
341
341
UPDATE `{ table_id } ` SET _PARTITIONTIME=CAST(DATE_TRUNC(DATE(usage_start_time), DAY) AS timestamp) WHERE 1=1;
342
342
"""
You can’t perform that action at this time.
0 commit comments