Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -319,15 +319,17 @@ void PhysicalHashAggregate::SinkDistinctGrouping(ExecutionContext &context, Data
for (idx_t group_idx = 0; group_idx < grouped_aggregate_data.groups.size(); group_idx++) {
auto &group = grouped_aggregate_data.groups[group_idx];
auto &bound_ref = group->Cast<BoundReferenceExpression>();
filtered_input.data[bound_ref.index].Reference(chunk.data[bound_ref.index]);
auto &col = filtered_input.data[bound_ref.index];
col.Reference(chunk.data[bound_ref.index]);
col.Slice(sel_vec, count);
}
for (idx_t child_idx = 0; child_idx < aggregate.children.size(); child_idx++) {
auto &child = aggregate.children[child_idx];
auto &bound_ref = child->Cast<BoundReferenceExpression>();

filtered_input.data[bound_ref.index].Reference(chunk.data[bound_ref.index]);
auto &col = filtered_input.data[bound_ref.index];
col.Reference(chunk.data[bound_ref.index]);
col.Slice(sel_vec, count);
}
filtered_input.Slice(sel_vec, count);
filtered_input.SetCardinality(count);

radix_table.Sink(context, filtered_input, sink_input, empty_chunk, empty_filter);
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-dev115"
#define DUCKDB_PATCH_VERSION "2-dev119"
#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-dev115"
#define DUCKDB_VERSION "v1.1.2-dev119"
#endif
#ifndef DUCKDB_SOURCE_ID
#define DUCKDB_SOURCE_ID "1f20676c7d"
#define DUCKDB_SOURCE_ID "52f967a428"
#endif
#include "duckdb/function/table/system_functions.hpp"
#include "duckdb/main/database.hpp"
Expand Down