You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node1.query(f"INSERT INTO {CATALOG_NAME}.`{root_namespace}.{table_name}` VALUES ('pablo');", settings={"allow_experimental_insert_into_iceberg": 1, 'write_full_path_in_iceberg_metadata': 1})
618
+
619
+
query_id=uuid.uuid4().hex
620
+
assertnode1.query(f"SELECT * FROM {CATALOG_NAME}.`{root_namespace}.{table_name}` SETTINGS parallel_replicas_for_cluster_engines=1, enable_parallel_replicas=2, cluster_for_parallel_replicas='cluster_simple'", query_id=query_id) =='pablo\n'
621
+
622
+
node1.query("SYSTEM FLUSH LOGS system.query_log")
623
+
node2.query("SYSTEM FLUSH LOGS system.query_log")
624
+
625
+
assertnode1.query(f"SELECT Settings['parallel_replicas_for_cluster_engines'] AS parallel_replicas_for_cluster_engines FROM system.query_log WHERE query_id = '{query_id}' LIMIT 1;") =='1\n'
626
+
627
+
forreplicain [node1, node2]:
628
+
cluster_secondary_queries= (
629
+
replica.query(
630
+
f"""
631
+
SELECT query, type, is_initial_query, read_rows, read_bytes FROM system.query_log
632
+
WHERE
633
+
type = 'QueryStart' AND
634
+
positionCaseInsensitive(query, 's3Cluster') != 0 AND
0 commit comments