ClickHouse/tests/queries/0_stateless/02480_tlp_nan.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
858 B
MySQL
Raw Normal View History

2022-11-14 11:39:56 +00:00
-- {echo}
2024-07-12 12:49:26 +00:00
SELECT sqrt(-1) as x, not(x), not(not(x)), (not(x)) IS NULL SETTINGS enable_analyzer=1;
SELECT sqrt(-1) as x, not(x), not(not(x)), (not(x)) IS NULL SETTINGS enable_analyzer=0;
2022-11-14 11:39:56 +00:00
2024-07-12 12:49:26 +00:00
SELECT -inf as x, not(x), not(not(x)), (not(x)) IS NULL SETTINGS enable_analyzer=1;
SELECT -inf as x, not(x), not(not(x)), (not(x)) IS NULL SETTINGS enable_analyzer=0;
2022-11-14 11:39:56 +00:00
2024-07-12 12:49:26 +00:00
SELECT NULL as x, not(x), not(not(x)), (not(x)) IS NULL SETTINGS enable_analyzer=1;
SELECT NULL as x, not(x), not(not(x)), (not(x)) IS NULL SETTINGS enable_analyzer=0;
2022-11-14 11:39:56 +00:00
2024-07-12 12:49:26 +00:00
SELECT inf as x, not(x), not(not(x)), (not(x)) IS NULL SETTINGS enable_analyzer=1;
SELECT inf as x, not(x), not(not(x)), (not(x)) IS NULL SETTINGS enable_analyzer=0;
2022-11-14 11:39:56 +00:00
2024-07-12 12:49:26 +00:00
SELECT nan as x, not(x), not(not(x)), (not(x)) IS NULL SETTINGS enable_analyzer=1;
SELECT nan as x, not(x), not(not(x)), (not(x)) IS NULL SETTINGS enable_analyzer=0;