mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
5001b19613
This is to make the syntax simpler, i.e. avoid explicit cast to UInt64 if you want to use scientific notation (i.e. 1e9 over 1 000 000 000). v2: use plain evaluateConstantExpression() over evaluateConstantExpressionOrIdentifierAsLiteral() since identifier will not work anyway
6 lines
280 B
SQL
6 lines
280 B
SQL
select * from numbers(1e2) format Null;
|
|
select * from numbers_mt(1e2) format Null;
|
|
select * from numbers_mt('100') format Null; -- { serverError 43 }
|
|
select * from numbers_mt(inf) format Null; -- { serverError 43 }
|
|
select * from numbers_mt(nan) format Null; -- { serverError 43 }
|