Skip to content

Commit

Permalink
autoload('parquet') since it's needed for scan_parquet
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Nov 11, 2024
1 parent e02abad commit dcf141c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/functions/delta_scan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -937,9 +937,11 @@ bool DeltaMultiFileReader::ParseOption(const string &key, const Value &val, Mult
//}

TableFunctionSet DeltaFunctions::GetDeltaScanFunction(DatabaseInstance &instance) {
// Parquet extension needs to be loaded for this to make sense
AutoLoadExtension(instance, "parquet");

Check failure on line 941 in src/functions/delta_scan.cpp

View workflow job for this annotation

GitHub Actions / Generated Tests (Linux)

‘AutoLoadExtension’ was not declared in this scope; did you mean ‘AutoloadException’?

Check failure on line 941 in src/functions/delta_scan.cpp

View workflow job for this annotation

GitHub Actions / Generated Tests (Linux)

‘AutoLoadExtension’ was not declared in this scope; did you mean ‘AutoloadException’?

Check failure on line 941 in src/functions/delta_scan.cpp

View workflow job for this annotation

GitHub Actions / Performance Regression Tests

‘AutoLoadExtension’ was not declared in this scope; did you mean ‘AutoloadException’?

Check failure on line 941 in src/functions/delta_scan.cpp

View workflow job for this annotation

GitHub Actions / Performance Regression Tests

‘AutoLoadExtension’ was not declared in this scope; did you mean ‘AutoloadException’?

Check failure on line 941 in src/functions/delta_scan.cpp

View workflow job for this annotation

GitHub Actions / Minio (local S3 test server) tests (Linux)

‘AutoLoadExtension’ was not declared in this scope; did you mean ‘AutoloadException’?

Check failure on line 941 in src/functions/delta_scan.cpp

View workflow job for this annotation

GitHub Actions / Minio (local S3 test server) tests (Linux)

‘AutoLoadExtension’ was not declared in this scope; did you mean ‘AutoloadException’?

Check failure on line 941 in src/functions/delta_scan.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_amd64, x86_64, x64-osx)

use of undeclared identifier 'AutoLoadExtension'; did you mean 'AutoloadException'?

Check failure on line 941 in src/functions/delta_scan.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_amd64, x86_64, x64-osx)

use of undeclared identifier 'AutoLoadExtension'; did you mean 'AutoloadException'?

// 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

auto &parquet_scan = ExtensionUtil::GetTableFunction(instance, "parquet_scan");
auto parquet_scan_copy = parquet_scan.functions;

Expand Down

0 comments on commit dcf141c

Please sign in to comment.