ClickHouse/tests/queries/0_stateless/00688_low_cardinality_defaults.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

5 lines
306 B
SQL

select CAST(toLowCardinality(val) as UInt64) from (select arrayJoin(['1']) as val);
select toUInt64(toLowCardinality(val)) from (select arrayJoin(['1']) as val);
select 1 % toLowCardinality(val) from (select arrayJoin([1]) as val);
select gcd(1, toLowCardinality(val)) from (select arrayJoin([1]) as val);