Add support for BigQuery hourly partitioned tables #2476
Labels
bigquery
enhancement
New feature or request
good_first_issue
Straightforward + self-contained changes, good for new contributors!
Describe the feature
BigQuery hourly partitioned tables are now in beta.
Benefits:
insert_overwrite
incremental strategy could replace partitions at a finer level of precisionRequired change
We need to:
partition_by
specpartition_by.render()
to avoid wrapping the partition column indate()
if the user has configured hourly partitioningSince 0.16.0, the
partition_by
spec has looked like:The
bq
API will reflect hourly partitioning like:Quick implementation thoughts:
type
attribute separate fromdata_type
'data_type': 'hour'
, would it assume that thefield
has already been truncated, or thatfield
is a timestamp in need of truncation?Who will this benefit?
The text was updated successfully, but these errors were encountered: