[
https://issues.apache.org/jira/browse/BEAM-8898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kenneth Knowles updated BEAM-8898:
----------------------------------
This Jira ticket has a pull request attached to it, but is still open. Did the
pull request resolve the issue? If so, could you please mark it resolved? This
will help the project have a clear view of its open issues.
> Enable WriteToBigQuery to perform range partitioning
> ----------------------------------------------------
>
> Key: BEAM-8898
> URL: https://issues.apache.org/jira/browse/BEAM-8898
> Project: Beam
> Issue Type: New Feature
> Components: io-py-gcp
> Reporter: Saman Vaisipour
> Priority: P3
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> BigQuery team recently [released
> 1.22.0|https://github.com/googleapis/google-cloud-python/releases/tag/bigquery-1.22.0]
> which includes the range partitioning feature (here is [an
> example|https://github.com/googleapis/google-cloud-python/blob/c4a69d44ccea9635b3d9d316b3f545f16538dafe/bigquery/samples/create_table_range_partitioned.py]).
>
> WriteToBigQuery uses
> [`additional_bq_parameters`|https://github.com/apache/beam/blob/c1719476b74ec6f68fabea392087607adafc70ef/sdks/python/apache_beam/io/gcp/bigquery.py#L177]
> to create tables with date partitioning and clustering. It would be great if
> the same would be possible to create tables with range partitioning.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)