Skip to content

Commit

Permalink
Add also replacement scans
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Sep 15, 2023
1 parent 794896a commit 2425a45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion scripts/generate_extensions_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,10 @@ def print_map_diff(d1, d2):
{".parquet", "parquet"},
{".json", "json"},
{".jsonl", "json"},
{".ndjson", "json"}
{".ndjson", "json"},
{".shp", "spatial"},
{".gpkg", "spatial"},
{".fgb", "spatial"}
}; // END_OF_EXTENSION_FILE_POSTFIXES
// Note: these are currently hardcoded in scripts/generate_extensions_function.py
Expand Down
5 changes: 4 additions & 1 deletion src/include/duckdb/main/extension_entries.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,10 @@ static constexpr ExtensionEntry EXTENSION_FILE_PREFIXES[] = {
static constexpr ExtensionEntry EXTENSION_FILE_POSTFIXES[] = {{".parquet", "parquet"},
{".json", "json"},
{".jsonl", "json"},
{".ndjson", "json"}}; // END_OF_EXTENSION_FILE_POSTFIXES
{".ndjson", "json"},
{".shp", "spatial"},
{".gpkg", "spatial"},
{".fgb", "spatial"}}; // END_OF_EXTENSION_FILE_POSTFIXES

// Note: these are currently hardcoded in scripts/generate_extensions_function.py
// TODO: automate by passing though to script via duckdb
Expand Down

0 comments on commit 2425a45

Please sign in to comment.