Skip to content

[BEAM-3482] fix serialization error in BigQueryIO's DynamicDestinations - #4417

Merged
jkff merged 2 commits into
apache:masterfrom
shashank64:master
Jan 25, 2018
Merged

[BEAM-3482] fix serialization error in BigQueryIO's DynamicDestinations#4417
jkff merged 2 commits into
apache:masterfrom
shashank64:master

Conversation

@shashank64

Copy link
Copy Markdown
Contributor

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

  • Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

@jkff

jkff commented Jan 16, 2018

Copy link
Copy Markdown
Contributor

Hmm this object is not supposed to be serialized. This PR will make it simply deserialize as null, and I'm highly doubtful that the code will work correctly after that. Could you post a more complete deserialization error by running with -Dsun.io.serialization.extendedDebugInfo=true ? I wonder if Apex runner is serializing something unnecessarily.

@shashank64

shashank64 commented Jan 17, 2018 via email

Copy link
Copy Markdown
Contributor Author

@jkff

jkff commented Jan 17, 2018

Copy link
Copy Markdown
Contributor

Hmm, okay, simpler question: did your pipeline start working correctly after this change? :)

@shashank64

shashank64 commented Jan 18, 2018 via email

Copy link
Copy Markdown
Contributor Author

@reuvenlax

Copy link
Copy Markdown
Contributor

It would help if you could provide a code snippet that doesn't work without this.

@jkff

jkff commented Jan 25, 2018

Copy link
Copy Markdown
Contributor

I'm going to merge this because it seems to help for Apex runner and is harmless otherwise.

@jkff
jkff merged commit 0f554fd into apache:master Jan 25, 2018
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.

3 participants