Merge branch 'collect-binary-size' of github.com:ClickHouse/ClickHouse into collect-binary-size

This commit is contained in:
Alexey Milovidov 2023-11-12 06:40:12 +01:00
commit b256f9d45f

View File

@ -434,7 +434,7 @@ FORMAT JSONCompactEachRow"""
profile_data_file = temp_path / "profile.json" profile_data_file = temp_path / "profile.json"
with open(profile_data_file, "wb") as profile_fd: with open(profile_data_file, "wb") as profile_fd:
for profile_source in profiles_dir.iterdir(): for profile_source in profiles_dir.iterdir():
if profile_source != 'binary_sizes.txt': if profile_source != "binary_sizes.txt":
with open(profiles_dir / profile_source, "rb") as ps_fd: with open(profiles_dir / profile_source, "rb") as ps_fd:
profile_fd.write(ps_fd.read()) profile_fd.write(ps_fd.read())