Skip to content

Commit

Permalink
Merge branch 'streaming-filter' of github.com:hawkfish/duckdb into st…
Browse files Browse the repository at this point in the history
…reaming-filter
  • Loading branch information
Richard Wesley committed May 29, 2024
2 parents 189eb8b + 33f54a8 commit f3db555
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ class StreamingWindowState : public OperatorState {
for (auto &child : wexpr.children) {
arg_types.push_back(child->return_type);
}
arg_chunk.Initialize(allocator, arg_types);
arg_cursor.Initialize(allocator, arg_types);
if (!arg_types.empty()) {
arg_chunk.Initialize(allocator, arg_types);
arg_cursor.Initialize(allocator, arg_types);
}
if (wexpr.filter_expr) {
filter_sel.Initialize();
}
Expand Down

0 comments on commit f3db555

Please sign in to comment.