ClickHouse/tests/queries/0_stateless/01677_bit_float.sql

10 lines
632 B
MySQL
Raw Normal View History

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 }