mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added test [#METR-22428].
This commit is contained in:
parent
b1de66f6d3
commit
3d4a40156f
@ -0,0 +1,58 @@
|
||||
SELECT
|
||||
toFloat64('inf'),
|
||||
toFloat64('-inf'),
|
||||
toFloat64('INF'),
|
||||
toFloat64('-INF'),
|
||||
toFloat64('Infinity'),
|
||||
toFloat64('-Infinity'),
|
||||
toFloat64('nan'),
|
||||
toFloat64('-nan'),
|
||||
toFloat64('NAN'),
|
||||
toFloat64('-NAN'),
|
||||
toFloat64('NaN'),
|
||||
toFloat64('-NaN'),
|
||||
toFloat64('+NaN'),
|
||||
|
||||
toFloat64OrZero('in'),
|
||||
toFloat64OrZero('-in'),
|
||||
toFloat64OrZero('INFi'),
|
||||
toFloat64OrZero('-INFi'),
|
||||
toFloat64OrZero('Infinit'),
|
||||
toFloat64OrZero('-Infinit'),
|
||||
toFloat64OrZero('na'),
|
||||
toFloat64OrZero('-na'),
|
||||
toFloat64OrZero('NANo'),
|
||||
toFloat64OrZero('-NANo'),
|
||||
toFloat64OrZero('NaN+'),
|
||||
toFloat64OrZero('-NaNa'),
|
||||
toFloat64OrZero('+Na')
|
||||
|
||||
toFloat32('inf'),
|
||||
toFloat32('-inf'),
|
||||
toFloat32('INF'),
|
||||
toFloat32('-INF'),
|
||||
toFloat32('Infinity'),
|
||||
toFloat32('-Infinity'),
|
||||
toFloat32('nan'),
|
||||
toFloat32('-nan'),
|
||||
toFloat32('NAN'),
|
||||
toFloat32('-NAN'),
|
||||
toFloat32('NaN'),
|
||||
toFloat32('-NaN'),
|
||||
toFloat32('+NaN'),
|
||||
|
||||
toFloat32OrZero('in'),
|
||||
toFloat32OrZero('-in'),
|
||||
toFloat32OrZero('INFi'),
|
||||
toFloat32OrZero('-INFi'),
|
||||
toFloat32OrZero('Infinit'),
|
||||
toFloat32OrZero('-Infinit'),
|
||||
toFloat32OrZero('na'),
|
||||
toFloat32OrZero('-na'),
|
||||
toFloat32OrZero('NANo'),
|
||||
toFloat32OrZero('-NANo'),
|
||||
toFloat32OrZero('NaN+'),
|
||||
toFloat32OrZero('-NaNa'),
|
||||
toFloat32OrZero('+Na')
|
||||
|
||||
FORMAT BlockTabSeparated;
|
Loading…
Reference in New Issue
Block a user