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-4700] Convert Beam Row to Avatica Row in BeamEnumerableCollector #5849

Merged
merged 1 commit into from
Jul 1, 2018

Conversation

kennknowles
Copy link
Member

This is a fairly surgical fix that makes timestamps work.

It is not at all a comprehensive solution to the general problem of establishing a proper compatibility between Beam Row and Avatica's meta schema stuff. I suspect we can override Cursor.getAccessors at the right place to avoid conversion at all. Since there's no meaningful documentation, it will take a minute to figure that out.


Follow this checklist to help us incorporate your contribution quickly and easily:

  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status Build Status Build Status Build Status
Python Build Status --- Build Status
Build Status
--- --- --- ---

@kennknowles
Copy link
Member Author

R: @apilloud @amaliujia

@apilloud
Copy link
Member

apilloud commented Jul 1, 2018

LGTM.

Are there tests we should write?

@kennknowles
Copy link
Member Author

Yes, I'm pondering how to do this. I would like to get the DSL-level tests to run both as a PTransform and also through JDBC driver.

@kennknowles kennknowles merged commit d703868 into apache:master Jul 1, 2018
@kennknowles
Copy link
Member Author

@kennknowles kennknowles deleted the avatica-timestamp branch July 3, 2018 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants