Skip to content

Fix aggregation NPE when child input finishes early#18171

Open
Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:fix/aggregation-missing-child
Open

Fix aggregation NPE when child input finishes early#18171
Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:fix/aggregation-missing-child

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

  • Skip missing child TsBlocks when merging partial aggregation results.
  • Avoid advancing null child input blocks after a child operator has finished.
  • Add a regression test for group-by intermediate aggregation when one child has fewer windows than another.

Tests

  • mvn -nsu -pl iotdb-core/datanode -am -Dtest=AggregationOperatorTest#testGroupByIntermediateResultWithFinishedChild -DfailIfNoTests=false "-Dsurefire.failIfNoSpecifiedTests=false" test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant