This commit is contained in:
Nikita Fomichev 2024-06-10 18:33:00 +02:00
parent 55319c760d
commit f4493d2544
2 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,30 @@
0 0
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0
0 0
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0
0 0
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0

View File

@ -0,0 +1,25 @@
CREATE TABLE test_table
(
`key` UInt32,
`_part_offset` DEFAULT 0
)
ENGINE = MergeTree
ORDER BY key;
INSERT INTO test_table (key) SELECT number
FROM numbers(10);
set allow_experimental_analyzer=0;
SELECT *
FROM test_table;
set allow_experimental_analyzer=1;
SELECT *
FROM test_table;
SELECT
key,
_part_offset
FROM test_table;