ClickHouse/tests/queries/0_stateless/02794_pushdown_invalid_get.sql
Alexey Milovidov 1ebfaafec8
Add a test for #47865 (#51306)
* Add a test for #47865

* Add a test for #47865
2023-06-23 13:45:23 +02:00

3 lines
248 B
SQL

SELECT * FROM (SELECT toInt128(NULL) AS x UNION ALL SELECT materialize(toInt128(-2))) WHERE x; -- { serverError ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER }
SELECT * FROM (SELECT toInt128(NULL) AS x UNION ALL SELECT materialize(toInt128(-2))) WHERE x != 0;