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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org