mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
8 lines
267 B
SQL
8 lines
267 B
SQL
set dialect = 'kusto';
|
|
print '-- isnan --';
|
|
print isnan(double(nan));
|
|
print isnan(4.2);
|
|
print isnan(4); -- { serverError FUNCTION_THROW_IF_VALUE_IS_NON_ZERO }
|
|
print isnan(real(+inf));
|
|
print isnan(dynamic(null)); -- { serverError FUNCTION_THROW_IF_VALUE_IS_NON_ZERO }
|