fix the missing column

Signed-off-by: Jianfei Hu <hujianfei258@gmail.com>
This commit is contained in:
Jianfei Hu 2023-06-20 07:26:46 +00:00
parent 4b3564b2b0
commit 8b8397de52
2 changed files with 4 additions and 2 deletions

View File

@ -61,7 +61,8 @@ def test_part_log_contains_partition(start_cluster):
"CREATE TABLE test_partition_table (date Date, word String, value UInt64) ENGINE=MergeTree() "
+ "PARTITION BY toYYYYMM(date) Order by value"
)
node2.query("INSERT INTO test_partition_table VALUES "
node2.query(
"INSERT INTO test_partition_table VALUES "
+ "('2023-06-20', 'a', 10), ('2023-06-21', 'b', 11),"
+ "('2023-05-20', 'cc', 14),('2023-05-21', 'd1', 15);"
)
@ -69,7 +70,7 @@ def test_part_log_contains_partition(start_cluster):
resp = node2.query(
"SELECT partition from system.part_log where table = 'test_partition_table'"
)
assert(resp == "202306\n202305\n")
assert resp == "202306\n202305\n"
def test_config_with_non_standard_part_log(start_cluster):

View File

@ -364,6 +364,7 @@ CREATE TABLE system.merges
`source_part_paths` Array(String),
`result_part_path` String,
`partition_id` String,
`partition` String,
`is_mutation` UInt8,
`total_size_bytes_compressed` UInt64,
`total_size_bytes_uncompressed` UInt64,