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/09 16:36:38 UTC

[GitHub] [spark] dongjoon-hyun commented on a change in pull request #24325: [SPARK-27414][SQL] make it clear that date type is timezone independent

dongjoon-hyun commented on a change in pull request #24325: [SPARK-27414][SQL] make it clear that date type is timezone independent
URL: https://github.com/apache/spark/pull/24325#discussion_r273580769
 
 

 ##########
 File path: docs/sql-reference.md
 ##########
 @@ -46,8 +46,9 @@ Spark SQL and DataFrames support the following data types:
   - `BooleanType`: Represents boolean values.
 * Datetime type
   - `TimestampType`: Represents values comprising values of fields year, month, day,
-  hour, minute, and second.
-  - `DateType`: Represents values comprising values of fields year, month, day.
+  hour, minute, and second, with the session local time-zone. The timestamp value represents an
+  absolute point in time.
+  - `DateType`: Represents values comprising values of fields year, month, day, without a time-zone.
 
 Review comment:
   nit. `, day` -> `, and day`

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