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/10 01:57:09 UTC

[GitHub] [spark] cloud-fan commented on issue #24332: [SPARK-27423][SQL] Cast DATE <-> TIMESTAMP according to the SQL standard

cloud-fan commented on issue #24332: [SPARK-27423][SQL] Cast DATE <-> TIMESTAMP according to the SQL standard
URL: https://github.com/apache/spark/pull/24332#issuecomment-481503356
 
 
   a correction: the timestamp in Spark is TIMESTAMP WITH LOCAL TIMEZONE. It's non-SQL-standard(but Oracle has it) and is a little different from TIMESTAMP WITH TIMEZONE.
   
   TIMESTAMP WITH TIMEZONE means, each timestamp value has an associated timezone.
   
   TIMESTAMP WITH LOCAL TIMEZONE means, all the timestamp values have a session-global associated timezone.
   
   The casting behavior should be the same though.

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