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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to