xinyiZzz opened a new issue #5860:
URL: https://github.com/apache/incubator-doris/issues/5860
**Describe the bug**
```
CREATE TABLE `tab2` (
`col0` int(11) NULL COMMENT "",
`col4` float NULL COMMENT ""
) ENGINE=OLAP
DUPLICATE KEY(`col0`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`col0`) BUCKETS 5
PROPERTIES (
"replication_num" = "1",
"in_memory" = "false",
"storage_format" = "V2"
);
INSERT INTO tab2 VALUES(8,38.36);
INSERT INTO tab2 VALUES(56,79.63);
```
1) query 1:
```
SELECT * FROM tab2 WHERE NOT (col0 <41 OR col4 <= 61.6)
```
result:
56 | 79.63
2) query 2:
```
CREATE VIEW view_2_tab2_305t4 AS SELECT col0, col4 FROM tab2 WHERE NOT (col0
<41 OR col4 <= 61.6);
SELECT * FROM view_2_tab2_305t4;
```
result:
8 | 38.36
56 | 79.63
Found through the sqllogictest test case.
--
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]