Skip to content

tidy up group by engines after removal of v1#15665

Merged
clintropolis merged 3 commits intoapache:masterfrom
clintropolis:cleanup-group-by-codes
Jan 11, 2024
Merged

tidy up group by engines after removal of v1#15665
clintropolis merged 3 commits intoapache:masterfrom
clintropolis:cleanup-group-by-codes

Conversation

@clintropolis
Copy link
Copy Markdown
Member

@clintropolis clintropolis commented Jan 11, 2024

Description

This PR cleans up some stuff after the removal of group by v1 in #14866 so that stuff is a bit easier to follow. The biggest material change is that all common code of GroupByQueryEngineV2 that is used by both non-vectorized and vectorized engines has been moved into GroupingEngine, including the process method which chooses which of non-vectorized and vectorized processing to use, and has been inlined into the process method of GroupingEngine.

Other changes:

  • GroupByQueryEngineV2 has been renamed to GroupByQueryEngine, and now is totally focused on non-vectorized processing (since shared stuff has been moved into GroupingEngine
  • GroupByMergingQueryRunnerV2 has been renamed to GroupByMergingQueryRunner
  • GroupByBinaryFnV2 has been renamed to GroupByResultMergeFn

This PR has:

  • been self-reviewed.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • been tested in a test Druid cluster.

@clintropolis
Copy link
Copy Markdown
Member Author

IT failure seems unrelated to changes in this PR

@clintropolis clintropolis merged commit 2118258 into apache:master Jan 11, 2024
@clintropolis clintropolis deleted the cleanup-group-by-codes branch January 11, 2024 08:52
@LakshSingla LakshSingla added this to the 29.0.0 milestone Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants