beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BEAM-2390) allow user to use .setTimePartitioning in BigQueryIO.write
Date Wed, 31 May 2017 02:09:04 GMT


ASF GitHub Bot commented on BEAM-2390:

GitHub user ericjohnston1989 opened a pull request:

    [BEAM-2390] added time partitioning to BigQueryIO

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
     - [ ] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`.
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](

You can merge this pull request into a Git repository by running:

    $ git pull BigQueryTimePartitioning

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3266
commit fa376ef6342b8bcfe80da580fc75150aac891919
Author: Eric Johnston <>
Date:   2017-05-31T02:01:59Z

    added time partitioning to BigQueryIO


> allow user to use .setTimePartitioning in BigQueryIO.write
> ----------------------------------------------------------
>                 Key: BEAM-2390
>                 URL:
>             Project: Beam
>          Issue Type: Improvement
>          Components: beam-model-runner-api
>    Affects Versions: 2.0.0
>            Reporter: Eric Johston
>            Assignee: Kenneth Knowles
>              Labels: easyfix, features, newbie
>             Fix For: 2.0.0
>   Original Estimate: 2h
>  Remaining Estimate: 2h
> Currently when writing to a table with BigQueryIO sink, there is no way to create a new
table that is date partitioned. This would be very useful, since currently the only way to
do this is  by manually creating a table ahead of time. We should be able to leverage the
automatic table creation functionality for date partitioned tables.
> The best way to do this would be to have a withTimePartitioning method in the BigQueryIO

This message was sent by Atlassian JIRA

View raw message