mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
fix the missing column
Signed-off-by: Jianfei Hu <hujianfei258@gmail.com>
This commit is contained in:
parent
4b3564b2b0
commit
8b8397de52
@ -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):
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user