Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
samansmink committed May 23, 2024
1 parent 2a6b466 commit dc5ca00
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/functions/delta_scan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,9 +588,9 @@ TableFunctionSet DeltaFunctions::GetDeltaScanFunction(DatabaseInstance &instance
// The delta_scan function is constructed by grabbing the parquet scan from the Catalog, then injecting the
// DeltaMultiFileReader into it to create a Delta-based multi file read

// FIXME revert when all required changes are applied upstream
// auto &parquet_scan = ExtensionUtil::GetTableFunction(instance, "parquet_scan");
// auto parquet_scan_copy = parquet_scan.functions;

auto parquet_scan_copy = ParquetOverrideFunction::GetFunctionSet();

for (auto &function : parquet_scan_copy.functions) {
Expand Down
3 changes: 0 additions & 3 deletions src/include/functions/delta_scan.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ struct DeltaMultiFileReaderGlobalState : public MultiFileReaderGlobalState {
//! The idx of the file_row_number column in the result chunk
idx_t file_row_number_idx = DConstants::INVALID_INDEX;

//! Workaround for issue with count(*) queries
bool mapped_row_number_to_row_idx = false;

void SetColumnIdx(const string &column, idx_t idx);
};

Expand Down

0 comments on commit dc5ca00

Please sign in to comment.