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

8 lines
269 B
SQL

DROP TABLE IF EXISTS t;
CREATE TABLE t (n UInt8) ENGINE=MergeTree ORDER BY n SAMPLE BY tuple(); -- { serverError INCORRECT_QUERY }
CREATE TABLE t (n UInt8) ENGINE=MergeTree ORDER BY tuple();
ALTER TABLE t MODIFY SAMPLE BY tuple(); -- { serverError INCORRECT_QUERY }