ClickHouse/tests/queries/0_stateless/02893_bad_sample_view.sql

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

5 lines
204 B
MySQL
Raw Normal View History

2023-10-08 21:17:40 +00:00
DROP TABLE IF EXISTS view_without_sample;
CREATE VIEW view_without_sample AS SELECT 1 AS x;
SELECT * FROM merge(currentDatabase(), '^view_without_sample$') SAMPLE 1 / 100;
DROP TABLE view_without_sample;