Skip to content

Commit 37b5fb3

Browse files
duckdblabs-botgithub-actions[bot]
authored andcommitted
Update vendored DuckDB sources to 2063dda3e6
1 parent 258866f commit 37b5fb3

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

src/duckdb/src/common/virtual_file_system.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ unique_ptr<FileHandle> VirtualFileSystem::OpenFileExtended(const OpenFileInfo &f
4141
} else if (compression != FileCompressionType::UNCOMPRESSED) {
4242
auto entry = compressed_fs.find(compression);
4343
if (entry == compressed_fs.end()) {
44+
if (compression == FileCompressionType::ZSTD) {
45+
throw NotImplementedException(
46+
"Attempting to open a compressed file, but the compression type is not supported.\nConsider "
47+
"explicitly \"INSTALL parquet; LOAD parquet;\" to support this compression scheme");
48+
}
4449
throw NotImplementedException(
4550
"Attempting to open a compressed file, but the compression type is not supported");
4651
}

src/duckdb/src/function/table/version/pragma_version.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#ifndef DUCKDB_PATCH_VERSION
2-
#define DUCKDB_PATCH_VERSION "1-dev259"
2+
#define DUCKDB_PATCH_VERSION "1"
33
#endif
44
#ifndef DUCKDB_MINOR_VERSION
55
#define DUCKDB_MINOR_VERSION 3
@@ -8,10 +8,10 @@
88
#define DUCKDB_MAJOR_VERSION 1
99
#endif
1010
#ifndef DUCKDB_VERSION
11-
#define DUCKDB_VERSION "v1.3.1-dev259"
11+
#define DUCKDB_VERSION "v1.3.1"
1212
#endif
1313
#ifndef DUCKDB_SOURCE_ID
14-
#define DUCKDB_SOURCE_ID "db3f895ce8"
14+
#define DUCKDB_SOURCE_ID "2063dda3e6"
1515
#endif
1616
#include "duckdb/function/table/system_functions.hpp"
1717
#include "duckdb/main/database.hpp"

src/duckdb/src/include/duckdb/main/extension_entries.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,8 +1051,8 @@ static constexpr ExtensionEntry EXTENSION_SECRET_TYPES[] = {
10511051

10521052
// Note: these are currently hardcoded in scripts/generate_extensions_function.py
10531053
// TODO: automate by passing though to script via duckdb
1054-
static constexpr ExtensionEntry EXTENSION_COPY_FUNCTIONS[] = {{"parquet", "parquet"},
1055-
{"json", "json"}}; // END_OF_EXTENSION_COPY_FUNCTIONS
1054+
static constexpr ExtensionEntry EXTENSION_COPY_FUNCTIONS[] = {
1055+
{"parquet", "parquet"}, {"json", "json"}, {"avro", "avro"}}; // END_OF_EXTENSION_COPY_FUNCTIONS
10561056

10571057
// Note: these are currently hardcoded in scripts/generate_extensions_function.py
10581058
// TODO: automate by passing though to script via duckdb
@@ -1095,8 +1095,8 @@ static constexpr ExtensionEntry EXTENSION_FILE_PREFIXES[] = {
10951095
// Note: these are currently hardcoded in scripts/generate_extensions_function.py
10961096
// TODO: automate by passing though to script via duckdb
10971097
static constexpr ExtensionEntry EXTENSION_FILE_POSTFIXES[] = {
1098-
{".parquet", "parquet"}, {".json", "json"}, {".jsonl", "json"}, {".ndjson", "json"},
1099-
{".shp", "spatial"}, {".gpkg", "spatial"}, {".fgb", "spatial"}, {".xlsx", "excel"},
1098+
{".parquet", "parquet"}, {".json", "json"}, {".jsonl", "json"}, {".ndjson", "json"}, {".shp", "spatial"},
1099+
{".gpkg", "spatial"}, {".fgb", "spatial"}, {".xlsx", "excel"}, {".avro", "avro"},
11001100
}; // END_OF_EXTENSION_FILE_POSTFIXES
11011101

11021102
// Note: these are currently hardcoded in scripts/generate_extensions_function.py

0 commit comments

Comments
 (0)