[ https://issues.apache.org/jira/browse/SPARK-27405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-27405: ---------------------------------- Priority: Minor (was: Trivial) > Restrict the range of generated random timestamps > ------------------------------------------------- > > Key: SPARK-27405 > URL: https://issues.apache.org/jira/browse/SPARK-27405 > Project: Spark > Issue Type: Improvement > Components: Tests > Affects Versions: 2.4.0 > Reporter: Maxim Gekk > Assignee: Maxim Gekk > Priority: Minor > Fix For: 3.0.0 > > > The timestampLiteralGen of LiteralGenerator can produce instances of > java.sql.Timestamp that cause Long arithmetic overflow on conversion > milliseconds to microseconds. The former conversion is performed because > Catalyst's Timestamp type stores microseconds since epoch internally. The > ticket aims to restrict the range of generated random timestamps to > [Long.MaxValue / 1000, Long.MinValue/ 1000]. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org