Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-10490] Support read/write ZetaSQL DATE/TIME types from/to BigQuery #12261

Merged
merged 2 commits into from
Jul 17, 2020

Conversation

robinyqiu
Copy link
Contributor

Also fix reading BYTES from BigQuery which is also failing currently.

r: @kennknowles @chamikaramj

Post-Commit Tests Status (on master branch)

Lang SDK Dataflow Flink Samza Spark Twister2
Go Build Status --- Build Status --- Build Status ---
Java Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status
Build Status
Build Status
Build Status
Python Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
--- Build Status ---
XLang Build Status --- Build Status --- Build Status ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status
Build Status
Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@robinyqiu
Copy link
Contributor Author

Run Java PreCommit

Copy link
Member

@kennknowles kennknowles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally LGTM but should there be an additional test for the fixed bug?

@robinyqiu
Copy link
Contributor Author

Ah, thanks for catching that. Test added.

@robinyqiu
Copy link
Contributor Author

Run Java PreCommit

@robinyqiu
Copy link
Contributor Author

Friendly ping

Copy link
Contributor

@chamikaramj chamikaramj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. LGTM other than one comment.

equalTo(new Instant(millis)));
}

@Test
public void testSubMilliPrecisionLogicalTypeRejected() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this test not relavent anymore ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's not relavent anymore. ZetaSQL TIME type is now able to support micro-second precision.

@robinyqiu robinyqiu merged commit cc27255 into apache:master Jul 17, 2020
@robinyqiu robinyqiu deleted the date-time-bq branch July 22, 2020 04:44
yirutang pushed a commit to yirutang/beam that referenced this pull request Jul 23, 2020
ettirapp pushed a commit to ettirapp/beam that referenced this pull request Aug 14, 2020
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.

None yet

3 participants