ClickHouse/tests/queries/0_stateless/02525_jit_logical_functions_nan.sql
2023-01-09 16:35:06 +01:00

10 lines
417 B
SQL

SET min_count_to_compile_expression = 0;
SELECT NOT NOT cos(MAX(pow(1523598955, 763027371))) FROM numbers(1) SETTINGS compile_expressions = 0;
SELECT NOT NOT cos(MAX(pow(1523598955, 763027371))) FROM numbers(1) SETTINGS compile_expressions = 1;
SELECT not(not(materialize(nan))) FROM numbers(1) SETTINGS compile_expressions = 0;
SELECT not(not(materialize(nan))) FROM numbers(1) SETTINGS compile_expressions = 1;