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

[BUG] test_date[add/sub]_with_date_overflow fail on DATAGEN_SEED=1702342238 TZ=Asia/Shanghai #10027

Open
revans2 opened this issue Dec 12, 2023 · 0 comments
Assignees
Labels
bug Something isn't working test Only impacts tests

Comments

@revans2
Copy link
Collaborator

revans2 commented Dec 12, 2023

Describe the bug
This happened on Spark 3.3.0. I ran locally and was able to reproduce the problem.

This appears to be happening on the CPU run with the error being

java.lang.ArithmeticException: long overflow
	at java.lang.Math.multiplyExact(Math.java:892)
	at org.apache.spark.sql.catalyst.util.DateTimeUtils$.instantToMicros(DateTimeUtils.scala:481)
	at org.apache.spark.sql.catalyst.util.DateTimeUtils$.daysToMicros(DateTimeUtils.scala:76)
	at org.apache.spark.sql.catalyst.util.DateTimeUtils.daysToMicros(DateTimeUtils.scala)
@revans2 revans2 added bug Something isn't working ? - Needs Triage Need team to review and classify test Only impacts tests labels Dec 12, 2023
@mattahrens mattahrens removed the ? - Needs Triage Need team to review and classify label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test Only impacts tests
Projects
None yet
Development

No branches or pull requests

4 participants