Skip to content

Commit

Permalink
Update vendored DuckDB sources to 3c5cab5
Browse files Browse the repository at this point in the history
  • Loading branch information
duckdblabs-bot committed Sep 27, 2024
1 parent 3c5cab5 commit c16092f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/duckdb/extension/parquet/parquet_extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,8 @@ class ParquetScanFunction {
return file_list_cardinality_estimate;
}

return make_uniq<NodeStatistics>(data.initial_file_cardinality * data.file_list->GetTotalFileCount());
return make_uniq<NodeStatistics>(MaxValue(data.initial_file_cardinality, (idx_t)1) *
data.file_list->GetTotalFileCount());
}

static idx_t ParquetScanMaxThreads(ClientContext &context, const FunctionData *bind_data) {
Expand Down
6 changes: 3 additions & 3 deletions src/duckdb/src/function/table/version/pragma_version.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef DUCKDB_PATCH_VERSION
#define DUCKDB_PATCH_VERSION "2-dev38"
#define DUCKDB_PATCH_VERSION "2-dev40"
#endif
#ifndef DUCKDB_MINOR_VERSION
#define DUCKDB_MINOR_VERSION 1
Expand All @@ -8,10 +8,10 @@
#define DUCKDB_MAJOR_VERSION 1
#endif
#ifndef DUCKDB_VERSION
#define DUCKDB_VERSION "v1.1.2-dev38"
#define DUCKDB_VERSION "v1.1.2-dev40"
#endif
#ifndef DUCKDB_SOURCE_ID
#define DUCKDB_SOURCE_ID "45559f5eeb"
#define DUCKDB_SOURCE_ID "47e1d3d60b"
#endif
#include "duckdb/function/table/system_functions.hpp"
#include "duckdb/main/database.hpp"
Expand Down

0 comments on commit c16092f

Please sign in to comment.