Skip to content

Commit

Permalink
Update vendored DuckDB sources to 5e6d0f7
Browse files Browse the repository at this point in the history
  • Loading branch information
duckdblabs-bot committed Oct 20, 2024
1 parent 5e6d0f7 commit 12c4a24
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion src/duckdb/src/execution/perfect_aggregate_hashtable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,12 @@ void PerfectAggregateHashTable::AddChunk(DataChunk &groups, DataChunk &payload)
// compute the actual pointer to the data by adding it to the base HT pointer and multiplying by the tuple size
for (idx_t i = 0; i < groups.size(); i++) {
const auto group = address_data[i];
D_ASSERT(group < total_groups);
if (group >= total_groups) {
throw InvalidInputException("Perfect hash aggregate: aggregate group %llu exceeded total groups %llu. This "
"likely means that the statistics in your data source are corrupt.\n* PRAGMA "
"disable_optimizer to disable optimizations that rely on correct statistics",
group, total_groups);
}
group_is_set[group] = true;
address_data[i] = uintptr_t(data) + group * tuple_size;
}
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 "3-dev31"
#define DUCKDB_PATCH_VERSION "3-dev35"
#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.3-dev31"
#define DUCKDB_VERSION "v1.1.3-dev35"
#endif
#ifndef DUCKDB_SOURCE_ID
#define DUCKDB_SOURCE_ID "aed52f5cab"
#define DUCKDB_SOURCE_ID "0446ab42e9"
#endif
#include "duckdb/function/table/system_functions.hpp"
#include "duckdb/main/database.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/duckdb/src/planner/expression_binder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ static bool CombineMissingColumns(ErrorData &current, ErrorData new_error) {
// get query location
QueryErrorContext context;
current_entry = current_info.find("position");
new_entry = current_info.find("position");
new_entry = new_info.find("position");
uint64_t position;
if (current_entry != current_info.end() &&
TryCast::Operation<string_t, uint64_t>(current_entry->second, position)) {
Expand Down

0 comments on commit 12c4a24

Please sign in to comment.