MaxGekk opened a new pull request #24161: [SPARK-27222][SQL] Support Instant 
and LocalDate in Literal.apply
URL: https://github.com/apache/spark/pull/24161
 
 
   ## What changes were proposed in this pull request?
   
   In the PR, I propose to extend `Literal.apply` to support constructing 
literals of `TimestampType` and `DateType` from `java.time.Instant` and 
`java.time.LocalDate`. The java classes have been already supported as external 
types for `TimestampType` and `DateType` by the PRs #23811  and #23913. 
   
   ## How was this patch tested?
   
   Added new tests to `LiteralExpressionSuite`.

----------------------------------------------------------------
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]

Reply via email to