You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/03/20 20:21:58 UTC

[GitHub] [spark] MaxGekk opened a new pull request #24161: [SPARK-27222][SQL] Support Instant and LocalDate in Literal.apply

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org