ClickHouse/tests/queries/0_stateless/01420_logical_functions_materialized_null.sql
Alexey Milovidov 1238456599 Slightly better
2020-08-01 22:10:59 +03:00

9 lines
208 B
SQL

SELECT NULL AND 1;
SELECT NULL OR 1;
SELECT materialize(NULL) AND 1;
SELECT materialize(NULL) OR 1;
SELECT arrayJoin([NULL]) AND 1;
SELECT arrayJoin([NULL]) OR 1;
SELECT isConstant(arrayJoin([NULL]) AND 1);