mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 04:22:03 +00:00
8 lines
267 B
MySQL
8 lines
267 B
MySQL
|
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 }
|