mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 11:52:27 +00:00
e1b6acfa52
After #29446 the following query was "broken": select isNotNull(1)+isNotNull(2) from remote('127.2', system.one) This was also a problem for queries to external storages (i.e. mysql), since it also uses query rewrite, like non-local distributed queries. Fixes: #29446
15 lines
482 B
Plaintext
15 lines
482 B
Plaintext
-- { echo }
|
|
explain syntax select null is null;
|
|
SELECT NULL IS NULL
|
|
explain syntax select null is not null;
|
|
SELECT NULL IS NOT NULL
|
|
explain syntax select isNull(null);
|
|
SELECT NULL IS NULL
|
|
explain syntax select isNotNull(null);
|
|
SELECT NULL IS NOT NULL
|
|
explain syntax select isNotNull(1)+isNotNull(2) from remote('127.2', system.one);
|
|
SELECT (1 IS NOT NULL) + (2 IS NOT NULL)
|
|
FROM remote(\'127.2\', \'system.one\')
|
|
select isNotNull(1)+isNotNull(2) from remote('127.2', system.one);
|
|
2
|