jackwener commented on PR #9018:
URL: https://github.com/apache/incubator-doris/pull/9018#issuecomment-1098809018
> > =, >= , <= to is not null;
>
> This still changes the behavior of `null =/>=/<= null`, these output
should be `null`, not `0`.
` =, >=, <= ` implicitly include `is null`.
It's from pg:
```sql
test=# Insert into scientist
test-# values (NULL, NULL, NULL);
INSERT 0 1
test=# select * from scientist
;
id | firstname | lastname
----+-----------+----------
1 | albert | einstein
2 | isaac | newton
3 | marie | curie
| |
(4 rows)
test=# select * from scientist where id > 0;
id | firstname | lastname
----+-----------+----------
1 | albert | einstein
2 | isaac | newton
3 | marie | curie
(3 rows)
```
--
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]