beam-commits mailing list archives

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

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

ASF GitHub Bot commented on BEAM-2390:
--------------------------------------

GitHub user ericjohnston1989 opened a pull request:

    https://github.com/apache/beam/pull/3266

    [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](https://www.apache.org/licenses/icla.pdf).
    
    ---


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

    $ git pull https://github.com/ericjohnston1989/beam BigQueryTimePartitioning

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

    https://github.com/apache/beam/pull/3266.patch

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 <eric@liftigniter.com>
Date:   2017-05-31T02:01:59Z

    added time partitioning to BigQueryIO

----


> allow user to use .setTimePartitioning in BigQueryIO.write
> ----------------------------------------------------------
>
>                 Key: BEAM-2390
>                 URL: https://issues.apache.org/jira/browse/BEAM-2390
>             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
class.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message