coderjiang commented on issue #5103:
URL:
https://github.com/apache/incubator-doris/issues/5103#issuecomment-1060564080
mysql> DELETE FROM ods_order_report WHERE purchase_date_local >=
DATE_ADD('2022-03-06 00:00:00', INTERVAL 1 day);
ERROR 1064 (HY000): errCode = 2, detailMessage = Right expr of binary
predicate should be value
mysql> select DATE_ADD('2022-03-06 00:00:00', INTERVAL 1 day);
+-------------------------------------------------+
| date_add('2022-03-06 00:00:00', INTERVAL 1 day) |
+-------------------------------------------------+
| 2022-03-07 00:00:00 |
+-------------------------------------------------+
1 row in set (0.00 sec)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]