ClickHouse/tests/queries/0_stateless/01032_cityHash64_for_decimal.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
314 B
MySQL
Raw Normal View History

2019-12-06 17:23:41 +00:00
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);