mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Fix typos
This commit is contained in:
parent
5677d04752
commit
851e4ae59f
@ -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
|
||||
|
@ -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",
|
||||
)
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -38,10 +38,10 @@ 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) using key where (key, val) in ((1, 1), (2, 2))';
|
||||
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) ;
|
||||
drop table if exists tab_00612;
|
||||
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);
|
||||
SELECT count(*) FROM tab_00612 PREWHERE id1 IN (1);
|
||||
|
||||
SELECT count() FROM tab_00612 WHERE (key1, id1) IN (-1, 1) AND (key1, 1) IN (-1, 1) SETTINGS force_primary_key = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user