File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ namespace ErrorCodes
1919namespace Setting
2020{
2121 extern const SettingsBool cluster_function_process_archive_on_multiple_nodes;
22+ extern const SettingsBool allow_experimental_iceberg_read_optimization;
2223}
2324
2425ClusterFunctionReadTaskResponse::ClusterFunctionReadTaskResponse (ObjectInfoPtr object, const ContextPtr & context)
@@ -29,7 +30,8 @@ ClusterFunctionReadTaskResponse::ClusterFunctionReadTaskResponse(ObjectInfoPtr o
2930 if (object->data_lake_metadata .has_value ())
3031 data_lake_metadata = object->data_lake_metadata .value ();
3132
32- file_meta_info = object->file_meta_info ;
33+ if (context->getSettingsRef ()[Setting::allow_experimental_iceberg_read_optimization])
34+ file_meta_info = object->file_meta_info ;
3335
3436 const bool send_over_whole_archive = !context->getSettingsRef ()[Setting::cluster_function_process_archive_on_multiple_nodes];
3537 path = send_over_whole_archive ? object->getPathOrPathToArchiveIfArchive () : object->getPath ();
You can’t perform that action at this time.
0 commit comments