Skip to content

Set BigQuery table timepartition inside get table function#333

Merged
feast-ci-bot merged 4 commits into
feast-dev:masterfrom
zhilingc:fix-bq-write
Nov 27, 2019
Merged

Set BigQuery table timepartition inside get table function#333
feast-ci-bot merged 4 commits into
feast-dev:masterfrom
zhilingc:fix-bq-write

Conversation

@zhilingc
Copy link
Copy Markdown
Collaborator

@zhilingc zhilingc commented Nov 27, 2019

Fixes this error:

Caused by: java.lang.IllegalArgumentException: The supplied getTableFunction object can directly set TimePartitioning. There is no need to call BigQueryIO.Write.withTimePartitioning.
	at org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Preconditions.checkArgument(Preconditions.java:141)

@feast-ci-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zhilingc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@zhilingc
Copy link
Copy Markdown
Collaborator Author

/retest

@zhilingc
Copy link
Copy Markdown
Collaborator Author

/retest

@zhilingc
Copy link
Copy Markdown
Collaborator Author

/retest

@davidheryanto
Copy link
Copy Markdown
Collaborator

/lgtm

@feast-ci-bot feast-ci-bot merged commit 57b574e into feast-dev:master Nov 27, 2019
zhilingc pushed a commit to zhilingc/feast that referenced this pull request Nov 28, 2019
…#333)

* Fix BigQuery write setting timepartition outside of table reference

* Give core a bit more time to start up

* Rename GetTableReference to correctly reflect return type

* Increase kafka sleep time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants