Skip to content

Commit

Permalink
[Fix](agg) Remove useless DCHECK for streaming agg node (#47842)
Browse files Browse the repository at this point in the history
It may be wrong for legacy planner
  • Loading branch information
zclllyybb authored Feb 12, 2025
1 parent cf356ba commit b8c6cde
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ DistinctStreamingAggOperatorX::DistinctStreamingAggOperatorX(ObjectPool* pool, i
_is_streaming_preagg = tnode.agg_node.use_streaming_preaggregation;
if (_is_streaming_preagg) {
DCHECK(!tnode.agg_node.grouping_exprs.empty()) << "Streaming preaggs do grouping";
DCHECK(_limit == -1) << "Preaggs have no limits";
}
} else {
_is_streaming_preagg = false;
Expand Down

0 comments on commit b8c6cde

Please sign in to comment.