[
https://issues.apache.org/jira/browse/SPARK-35780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17385939#comment-17385939
]
Apache Spark commented on SPARK-35780:
--------------------------------------
User 'linhongliu-db' has created a pull request for this issue:
https://github.com/apache/spark/pull/33490
> Support DATE/TIMESTAMP literals across the full range
> -----------------------------------------------------
>
> Key: SPARK-35780
> URL: https://issues.apache.org/jira/browse/SPARK-35780
> Project: Spark
> Issue Type: Task
> Components: SQL
> Affects Versions: 3.2.0
> Reporter: Linhong Liu
> Assignee: Linhong Liu
> Priority: Major
> Fix For: 3.2.0
>
>
> DATE/TIMESTAMP literals support years 0000 to 9999.
> However, internally we support a range that is much larger.
> I can add or subtract large intervals from a date/timestamp and the system
> will happily process and display large negative and positive dates.
> Since we obviously cannot put this genie back into the bottle the only thing
> we can do is allow matching DATE/TIMESTAMP literals.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]