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/04/02 06:27:07 UTC

[GitHub] [spark] MaxGekk opened a new pull request #24273: [SPARK-27344][SQL][TEST] Support the LocalDate and Instant classes in Java Bean encoders

MaxGekk opened a new pull request #24273: [SPARK-27344][SQL][TEST] Support the LocalDate and Instant classes in Java Bean encoders
URL: https://github.com/apache/spark/pull/24273
 
 
   ## What changes were proposed in this pull request?
   
   - Added new test for Java Bean encoder of the classes: `java.time.LocalDate` and `java.time.Instant`.
   - Updated comment for `Encoders.bean`
   - New Row getters: `getLocalDate` and `getInstant`
   - Extended `inferDataType` to infer types for `java.time.LocalDate` -> `DateType` and `java.time.Instant` -> `TimestampType`.
   
   ## How was this patch tested?
   
   By `JavaBeanDeserializationSuite`
   

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