Skip to content

Commit 9f9b29f

Browse files
committed
update comment
1 parent da8e2c7 commit 9f9b29f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nise/upload.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ def gcp_bucket_to_dataset(
335335
# job config does not let you upload to the _PARTITIONTIME because it is a prebuild column in
336336
# bigquery. However, we do have permission to update it.
337337
# 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)
340340
partition_date_sql = f"""
341341
UPDATE `{table_id}` SET _PARTITIONTIME=CAST(DATE_TRUNC(DATE(usage_start_time), DAY) AS timestamp) WHERE 1=1;
342342
"""

0 commit comments

Comments
 (0)