[
https://issues.apache.org/jira/browse/BEAM-2390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16106801#comment-16106801
]
ASF GitHub Bot commented on BEAM-2390:
--------------------------------------
GitHub user reuvenlax opened a pull request:
https://github.com/apache/beam/pull/3663
[BEAM-2390] Add support for TimePartitioning in BigQueryIO
TimePartitioning is made part of TableDestination, so dynamic tables can
have different partitioning parameters.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/reuvenlax/incubator-beam time_partitioning
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/3663.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 #3663
----
commit b8d88bc78ae28bc60fe4254adae1e3b09d7eacb1
Author: Reuven Lax <[email protected]>
Date: 2017-07-31T04:42:59Z
Add support for TimePartitioning in streaming.
----
> 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: sdk-java-gcp
> Affects Versions: 2.0.0
> Reporter: Eric Johston
> Assignee: Eric Johston
> Labels: easyfix, features, newbie
> Fix For: 2.2.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.4.14#64029)