【详述】
DELETE from t where DATE_FORMAT(dt, ‘%Y-%m-%d 00:00:00’) = ‘2023-07-18 00:00:00’;
报错:
[42000][1064] Analyze DeleteStmt using old analyzer failed: Left expr of binary predicate should be column name
【背景】
【业务影响】
无法格式化日期后删除数据
【StarRocks版本】
2.4.2