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
{"export_merge_tree_part_file_already_exists_policy", "skip", "skip", "New setting."},
56
56
{"iceberg_timezone_for_timestamptz", "UTC", "UTC", "New setting."},
57
57
{"hybrid_table_auto_cast_columns", true, true, "New setting to automatically cast Hybrid table columns when segments disagree on types. Default enabled."},
58
-
{"allow_experimental_hybrid_table", false, false, "Added new setting to allow the Hybrid table engine."}
58
+
{"allow_experimental_hybrid_table", false, false, "Added new setting to allow the Hybrid table engine."},
59
59
{"cluster_table_function_split_granularity", "file", "file", "New setting."},
60
60
{"cluster_table_function_buckets_batch_size", 0, 0, "New setting."},
61
61
{"arrow_flight_request_descriptor_type", "path", "path", "New setting. Type of descriptor to use for Arrow Flight requests: 'path' or 'command'. Dremio requires 'command'."},
f"SELECT sum(ProfileEvents['EngineFileLikeReadFiles']) FROM system.query_log WHERE type = 'QueryFinish'"
4008
+
)
4009
+
)
4010
+
4011
+
func()
4012
+
instance.query("SYSTEM FLUSH LOGS")
4013
+
buffers_count=int(
4014
+
instance.query(
4015
+
f"SELECT sum(ProfileEvents['EngineFileLikeReadFiles']) FROM system.query_log WHERE type = 'QueryFinish'"
4016
+
)
4017
+
)
4018
+
returnbuffers_count-buffers_count_before
4019
+
4020
+
select_cluster= (
4021
+
instance.query(f"SELECT * FROM {table_function_expr_cluster} ORDER BY ALL SETTINGS input_format_parquet_use_native_reader_v3={input_format_parquet_use_native_reader_v3},cluster_table_function_split_granularity='bucket', cluster_table_function_buckets_batch_size={cluster_table_function_buckets_batch_size}").strip().split()
4022
+
)
4023
+
4024
+
# Simple size check
4025
+
assertlen(select_cluster) ==len(select_regular)
4026
+
# Actual check
4027
+
assertselect_cluster==select_regular
4028
+
4029
+
buffers_count_with_splitted_tasks=get_buffers_count(lambda: instance.query(f"SELECT * FROM {table_function_expr_cluster} ORDER BY ALL SETTINGS input_format_parquet_use_native_reader_v3={input_format_parquet_use_native_reader_v3},cluster_table_function_split_granularity='bucket', cluster_table_function_buckets_batch_size={cluster_table_function_buckets_batch_size}").strip().split())
4030
+
buffers_count_default=get_buffers_count(lambda: instance.query(f"SELECT * FROM {table_function_expr_cluster} ORDER BY ALL SETTINGS input_format_parquet_use_native_reader_v3={input_format_parquet_use_native_reader_v3}, cluster_table_function_buckets_batch_size={cluster_table_function_buckets_batch_size}").strip().split())
0 commit comments