mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
7 lines
316 B
SQL
7 lines
316 B
SQL
SELECT any(nullIf(s, '')) FROM (SELECT arrayJoin(['', 'Hello']) AS s);
|
|
|
|
SET optimize_move_functions_out_of_any = 0;
|
|
EXPLAIN SYNTAX select any(nullIf('', ''), 'some text'); -- { serverError 42 }
|
|
SET optimize_move_functions_out_of_any = 1;
|
|
EXPLAIN SYNTAX select any(nullIf('', ''), 'some text'); -- { serverError 42 }
|