Maxim Gekk created SPARK-26652: ---------------------------------- Summary: Use Proleptic Gregorian calendar in creation of Timestamp/Date literals from strings Key: SPARK-26652 URL: https://issues.apache.org/jira/browse/SPARK-26652 Project: Spark Issue Type: Sub-task Components: SQL Affects Versions: 2.4.0 Reporter: Maxim Gekk
Currently the Literal.fromString method uses Date.valueOf and Timestamp.valueOf to parse a string and create Timestamp/Date literals. The ticket aims to switch the method on java.time classes for parsing. A solution could be using TimestampFormatter & DateFormatter. -- 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