dongjoon-hyun edited a comment on issue #24316: [SPARK-27405][SQL][TEST] Restrict the range of generated random timestamps URL: https://github.com/apache/spark/pull/24316#issuecomment-480643978 Could you add a concrete example in the PR description for the following, too? > Converting the milliseconds to microseconds can cause arithmetic overflow of Long type because Catalyst's Timestamp type stores microseconds since epoch in Long type internally as well. You may find some instance from the following failure. - https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/104362/consoleFull ``` [info] ArithmeticExpressionSuite: ... [info] - function least *** FAILED *** (690 milliseconds) [info] ArithmeticException was thrown during property evaluation. [info] Message: long overflow [info] Occurred when passed generated values ( [info] [info] ) ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
