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-8291] Always use UTC in generated code to convert to a LocalDate #9678

Merged
merged 1 commit into from Oct 1, 2019

Conversation

TheNeuralBit
Copy link
Member

Modifies ByteBuddyUtils to generate new T(value.getMillis(), DateTimeZone.UTC), whenever T is a sub-class of BaseLocal, rather than new T(value.getMillis()), which uses the default timezone.

Fixes some AvroSchemaTest failures that occurred on my local machine (I believe this would happen on any machine with a negative TZ offset).

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
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
Python Build Status
Build Status
Build Status
Build Status
--- Build Status
Build Status
Build Status --- --- Build Status
XLang --- --- --- Build Status --- --- ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable 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.

R: @reuvenlax
cc: @kanterov, @robinyqiu

@reuvenlax
Copy link
Contributor

lgtm

@reuvenlax reuvenlax merged commit 40d5167 into apache:master Oct 1, 2019
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