Update 01917_system_data_skipping_indices.sql

This commit is contained in:
alexey-milovidov 2021-06-26 03:33:59 +03:00 committed by GitHub
parent c2acf12245
commit e766d2cb1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,12 +23,12 @@ CREATE TABLE data_01917_2
Engine=MergeTree()
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_2';
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' 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_2;