MaxGekk commented on PR #51179:
URL: https://github.com/apache/spark/pull/51179#issuecomment-2987864214

   > I guess these cases shall be considered invalid?
   
   Good question, should we prohibit any implicit casts to DATE like:
   ```sql
   spark-sql (default)> SELECT make_timestamp('2018-11-17', TIME'0:0:0');
   2018-11-17 00:00:00
   spark-sql (default)> SELECT make_timestamp(timestamp_ntz'2018-11-17', 
time'1:2:3');
   2018-11-17 01:02:03
   ```
   Probably, yes. WDYT?


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

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to