mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Update 01917_system_data_skipping_indices.sql
This commit is contained in:
parent
c2acf12245
commit
e766d2cb1f
@ -23,12 +23,12 @@ CREATE TABLE data_01917_2
|
|||||||
Engine=MergeTree()
|
Engine=MergeTree()
|
||||||
ORDER BY name;
|
ORDER BY name;
|
||||||
|
|
||||||
SELECT * FROM system.data_skipping_indices;
|
SELECT * FROM system.data_skipping_indices WHERE database = currentDatabase();
|
||||||
|
|
||||||
SELECT count(*) FROM system.data_skipping_indices WHERE table = 'data_01917';
|
SELECT count(*) FROM system.data_skipping_indices WHERE table = 'data_01917' AND database = currentDatabase();
|
||||||
SELECT count(*) FROM system.data_skipping_indices WHERE table = 'data_01917_2';
|
SELECT count(*) FROM system.data_skipping_indices WHERE table = 'data_01917_2' AND database = currentDatabase();
|
||||||
|
|
||||||
SELECT name FROM system.data_skipping_indices WHERE type = 'minmax';
|
SELECT name FROM system.data_skipping_indices WHERE type = 'minmax' AND database = currentDatabase();
|
||||||
|
|
||||||
DROP TABLE data_01917;
|
DROP TABLE data_01917;
|
||||||
DROP TABLE data_01917_2;
|
DROP TABLE data_01917_2;
|
||||||
|
Loading…
Reference in New Issue
Block a user