sduzh opened a new issue #3875:
URL: https://github.com/apache/incubator-doris/issues/3875
**To Reproduce**
```SQL
CREATE TABLE t0(c0 DECIMAL(2,0) )DUPLICATE KEY(c0) DISTRIBUTED BY HASH(c0)
BUCKETS 1 PROPERTIES("replication_num"="1");
INSERT INTO t0 VALUES (1);
SELECT t0.c0 FROM t0 WHERE ((CAST(t0.c0 AS DATETIME)) IS NULL);
```
**Expected behavior**
```
+------+
| c0 |
+------+
| 1 |
+------+
1 row in set, 1 warning (0.00 sec)
```
**Real behavior**
```
Empty set (0.01 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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]