Merge pull request #45036 from ClickHouse/fix-typo-6

Fix typos
This commit is contained in:
Alexey Milovidov 2023-01-08 10:12:25 +03:00 committed by GitHub
commit 0d60f564de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -84,7 +84,7 @@ def get_images_dict(repo_path: str, image_file_path: str) -> ImagesDict:
images_dict = json.load(dict_file)
else:
logging.info(
"Image file %s doesnt exists in repo %s", image_file_path, repo_path
"Image file %s doesn't exist in repo %s", image_file_path, repo_path
)
return images_dict

View File

@ -26,7 +26,7 @@ Images = Dict[str, List[str]]
def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser(
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
description="The program gets images from changed_images_*.json, merges imeges "
description="The program gets images from changed_images_*.json, merges images "
"with different architectures into one manifest and pushes back to docker hub",
)

View File

@ -307,7 +307,7 @@ class _NetworkManager:
return output
# Approximately mesure network I/O speed for interface
# Approximately measure network I/O speed for interface
class NetThroughput(object):
def __init__(self, node):
self.node = node

View File

@ -418,7 +418,7 @@ def test_rename(test_cluster):
for i in range(10):
instance.query("insert into rename (id) values ({})".format(i))
# FIXME ddl_check_query doesnt work for replicated DDDL if replace_hostnames_with_ips=True
# FIXME ddl_check_query doesn't work for replicated DDDL if replace_hostnames_with_ips=True
# because replicas use wrong host name of leader (and wrong path in zk) to check if it has executed query
# so ddl query will always fail on some replicas even if query was actually executed by leader
# Also such inconsistency in cluster configuration may lead to query duplication if leader suddenly changed

View File

@ -39,7 +39,7 @@ select 'max(key) from tab_00612 any left join (select key, arrayJoin(n.x) as val
select max(key) from tab_00612 any left join (select key, arrayJoin(n.x) as val from tab_00612) js2 using key where (key, val) in ((1, 1), (2, 2));
drop table if exists tab_00612;
CREATE TABLE tab_00612 (key1 Int32, id1 Int64, c1 Int64) ENGINE = MergeTree PARTITION BY id1 ORDER BY (key1) ;
CREATE TABLE tab_00612 (key1 Int32, id1 Int64, c1 Int64) ENGINE = MergeTree PARTITION BY id1 ORDER BY (key1);
insert into tab_00612 values ( -1, 1, 0 );
SELECT count(*) FROM tab_00612 PREWHERE id1 IN (1);