ClickHouse/tests/queries/0_stateless/01677_bit_float.sql
2024-05-30 19:41:08 +00:00

10 lines
632 B
SQL

SELECT bitAnd(0, inf); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
SELECT bitXor(0, inf); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
SELECT bitOr(0, inf); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
SELECT bitTest(inf, 0); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
SELECT bitTest(0, inf); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
SELECT bitRotateLeft(inf, 0); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
SELECT bitRotateRight(inf, 0); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
SELECT bitShiftLeft(inf, 0); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }
SELECT bitShiftRight(inf, 0); -- { serverError ILLEGAL_TYPE_OF_ARGUMENT }