ClickHouse/tests/queries/0_stateless/01032_cityHash64_for_decimal.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

7 lines
314 B
SQL

SELECT cityHash64(toDecimal32(32, 2));
SELECT cityHash64(toDecimal64(64, 5));
SELECT cityHash64(toDecimal128(128, 24));
SELECT cityHash64(toDecimal32(number, 3)) from numbers(198, 2);
SELECT cityHash64(toDecimal64(number, 9)) from numbers(297, 2);
SELECT cityHash64(toDecimal128(number, 16)) from numbers(123, 2);