diff --git a/src/functions/delta_scan.cpp b/src/functions/delta_scan.cpp index 8021a29..377c5c0 100644 --- a/src/functions/delta_scan.cpp +++ b/src/functions/delta_scan.cpp @@ -643,9 +643,9 @@ void DeltaMultiFileReader::BindOptions(MultiFileReaderOptions &options, MultiFil void DeltaMultiFileReader::FinalizeBind(const MultiFileReaderOptions &file_options, const MultiFileReaderBindData &options, const string &filename, const vector &local_names, const vector &global_types, - const vector &global_names, const vector &global_column_ids, - MultiFileReaderData &reader_data, ClientContext &context, - optional_ptr global_state) { + const vector &global_names, + const vector &global_column_ids, MultiFileReaderData &reader_data, + ClientContext &context, optional_ptr global_state) { MultiFileReader::FinalizeBind(file_options, options, filename, local_names, global_types, global_names, global_column_ids, reader_data, context, global_state); @@ -982,14 +982,14 @@ bool DeltaMultiFileReader::ParseOption(const string &key, const Value &val, Mult } static InsertionOrderPreservingMap DeltaFunctionToString(TableFunctionToStringInput &input) { - InsertionOrderPreservingMap result; + InsertionOrderPreservingMap result; - if (input.table_function.function_info) { - auto& table_info = input.table_function.function_info->Cast(); - result["Table"] = table_info.table_name; - } + if (input.table_function.function_info) { + auto &table_info = input.table_function.function_info->Cast(); + result["Table"] = table_info.table_name; + } - return result; + return result; } TableFunctionSet DeltaFunctions::GetDeltaScanFunction(DatabaseInstance &instance) { @@ -1013,7 +1013,7 @@ TableFunctionSet DeltaFunctions::GetDeltaScanFunction(DatabaseInstance &instance function.table_scan_progress = nullptr; function.get_bind_info = nullptr; - function.to_string = DeltaFunctionToString; + function.to_string = DeltaFunctionToString; // Schema param is just confusing here function.named_parameters.erase("schema"); diff --git a/src/include/functions/delta_scan.hpp b/src/include/functions/delta_scan.hpp index 5bc981c..e9e89da 100644 --- a/src/include/functions/delta_scan.hpp +++ b/src/include/functions/delta_scan.hpp @@ -17,7 +17,7 @@ struct DeltaSnapshot; struct DeltaFunctionInfo : public TableFunctionInfo { shared_ptr snapshot; string expected_path; - string table_name; + string table_name; }; struct DeltaFileMetaData { diff --git a/src/storage/delta_table_entry.cpp b/src/storage/delta_table_entry.cpp index 6dfb19d..be6ea58 100644 --- a/src/storage/delta_table_entry.cpp +++ b/src/storage/delta_table_entry.cpp @@ -47,7 +47,7 @@ TableFunction DeltaTableEntry::GetScanFunction(ClientContext &context, unique_pt auto function_info = make_shared_ptr(); function_info->snapshot = this->snapshot; - function_info->table_name = delta_catalog.GetName(); + function_info->table_name = delta_catalog.GetName(); delta_scan_function.function_info = std::move(function_info); vector inputs = {delta_catalog.GetDBPath()};