run check with wide parts

This commit is contained in:
Anton Popov 2020-10-07 21:53:34 +03:00
parent 403a5320f5
commit e0bc669423
3 changed files with 12 additions and 1 deletions

View File

@ -512,6 +512,15 @@ def collect_build_flags(client):
else:
raise Exception("Cannot get inforamtion about build from server errorcode {}, stderr {}".format(clickhouse_proc.returncode, stderr))
clickhouse_proc = Popen(shlex.split(client), stdin=PIPE, stdout=PIPE, stderr=PIPE)
(stdout, stderr) = clickhouse_proc.communicate(b"SELECT value FROM system.merge_tree_settings WHERE name = 'min_bytes_for_wide_part'")
if clickhouse_proc.returncode == 0:
if stdout == b'0\n':
result.append(BuildFlags.POLYMORPHIC_PARTS)
else:
raise Exception("Cannot get inforamtion about build from server errorcode {}, stderr {}".format(clickhouse_proc.returncode, stderr))
return result

View File

@ -1,5 +1,5 @@
<yandex>
<merge_tree>
<min_bytes_for_wide_part>10485760</min_bytes_for_wide_part>
<min_bytes_for_wide_part>0</min_bytes_for_wide_part>
</merge_tree>
</yandex>

View File

@ -98,5 +98,7 @@
"00609_mv_index_in_in",
"00510_materizlized_view_and_deduplication_zookeeper",
"00738_lock_for_inner_table"
],
"polymorphic-parts": [
]
}