added test 00481_reading_from_last_granula

This commit is contained in:
Nikolai Kochetov 2017-07-26 18:36:11 +03:00 committed by alexey-milovidov
parent 01a004050d
commit 63cdf84fe3
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,7 @@
DROP TABLE IF EXISTS test.tab;
CREATE TABLE test.tab (date Date, value UInt64, s String, m FixedString(16)) ENGINE = MergeTree(date, (date, value), 8);
INSERT INTO test.tab SELECT today() as date, number as value, '' as s, toFixedString('', 16) as m from system.numbers limit 42;
SET preferred_max_column_in_block_size_bytes = 32;
SELECT blockSize(), * from test.tab format Null;
SELECT 0;