mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-06 07:32:27 +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 }
|