ClickHouse/tests/queries/0_stateless/02810_row_binary_with_defaults.sql
2023-06-30 16:18:30 +00:00

8 lines
543 B
SQL

select * from format('RowBinaryWithDefaults', 'x UInt32 default 42', x'01');
select * from format('RowBinaryWithDefaults', 'x UInt32 default 42', x'0001000000');
select * from format('RowBinaryWithDefaults', 'x Nullable(UInt32) default 42', x'01');
select * from format('RowBinaryWithDefaults', 'x Nullable(UInt32) default 42', x'000001000000');
select * from format('RowBinaryWithDefaults', 'x Nullable(UInt32) default 42', x'0001');
select * from format('RowBinaryWithDefaults', 'x Array(Tuple(UInt32, UInt32)) default [(42, 42)]', x'01');