MaxGekk commented on issue #26358: [SPARK-29712][SQL] Take into account the 
left bound in `fromDayTimeString()`
URL: https://github.com/apache/spark/pull/26358#issuecomment-551942719
 
 
   For example, MySQL is strict as proposed in the PR:
   ```sql
   mysql> SELECT DATE_SUB("1998-01-01 00:00:00", INTERVAL "1 1:1" HOUR_MINUTE);
   +---------------------------------------------------------------+
   | DATE_SUB("1998-01-01 00:00:00", INTERVAL "1 1:1" HOUR_MINUTE) |
   +---------------------------------------------------------------+
   | NULL                                                          |
   +---------------------------------------------------------------+
   1 row in set, 1 warning (0.00 sec)
   
   mysql> SELECT DATE_SUB("1998-01-01 00:00:00", INTERVAL "1:1" HOUR_MINUTE);
   +-------------------------------------------------------------+
   | DATE_SUB("1998-01-01 00:00:00", INTERVAL "1:1" HOUR_MINUTE) |
   +-------------------------------------------------------------+
   | 1997-12-31 22:59:00                                         |
   +-------------------------------------------------------------+
   1 row in set (0.00 sec)
   ```
   
   @cloud-fan @srowen What can I do to continue with the PR except of resolving 
the conflicts.

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