You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Pablo Estrada (Jira)" <ji...@apache.org> on 2019/12/06 18:54:00 UTC

[jira] [Commented] (BEAM-8898) Enable WriteToBigQuery to perform range partitioning

    [ https://issues.apache.org/jira/browse/BEAM-8898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16990084#comment-16990084 ] 

Pablo Estrada commented on BEAM-8898:
-------------------------------------

This would just be a matter of upgrading the library. I'll try to do that, but if there are issues, I'll have to tackle it later.

> 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: Minor
>
> 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.3.4#803005)