Skip to content

add CursorHolder.isPreAggregated method to allow cursors on pre-aggregated data#17058

Merged
clintropolis merged 2 commits intoapache:masterfrom
clintropolis:cursor-holder-pre-aggregated
Sep 13, 2024
Merged

add CursorHolder.isPreAggregated method to allow cursors on pre-aggregated data#17058
clintropolis merged 2 commits intoapache:masterfrom
clintropolis:cursor-holder-pre-aggregated

Conversation

@clintropolis
Copy link
Copy Markdown
Member

@clintropolis clintropolis commented Sep 13, 2024

changes:

  • CursorHolder.isPreAggregated method indicates that a cursor has pre-aggregated data for all AggregatorFactory specified in a CursorBuildSpec. If true, engines should rewrite the query to use AggregatorFactory.getCombiningAggreggator, and column selector factories will provide selectors with the aggregator intermediate type for the aggregator factory name
  • Added groupby, timeseries, and topN support for CursorHolder.isPreAggregated
  • Added synthetic test since no CursorHolder implementations support isPreAggregated at this point in time

…gated data

changes:
* CursorHolder.isPreAggregated method indicates that a cursor has pre-aggregated data for all AggregatorFactory specified in a CursorBuildSpec. If true, engines should rewrite the query to use AggregatorFactory.getCombiningAggreggator, and column selector factories will provide selectors with the aggregator interediate type for the aggregator factory name
* Added groupby, timeseries, and topN support for CursorHolder.isPreAggregated
* Added synthetic test since no CursorHolder implementations support isPreAggregated at this point in time
@clintropolis clintropolis force-pushed the cursor-holder-pre-aggregated branch from fbf72e2 to f1d92b0 Compare September 13, 2024 08:24
@clintropolis clintropolis merged commit 28ec962 into apache:master Sep 13, 2024
@clintropolis clintropolis deleted the cursor-holder-pre-aggregated branch September 13, 2024 19:52
pranavbhole pushed a commit to pranavbhole/druid that referenced this pull request Sep 17, 2024
…gated data (apache#17058)

changes:
* CursorHolder.isPreAggregated method indicates that a cursor has pre-aggregated data for all AggregatorFactory specified in a CursorBuildSpec. If true, engines should rewrite the query to use AggregatorFactory.getCombiningAggreggator, and column selector factories will provide selectors with the aggregator interediate type for the aggregator factory name
* Added groupby, timeseries, and topN support for CursorHolder.isPreAggregated
* Added synthetic test since no CursorHolder implementations support isPreAggregated at this point in time
kfaraz pushed a commit to kfaraz/druid that referenced this pull request Oct 1, 2024
…gated data (apache#17058)

changes:
* CursorHolder.isPreAggregated method indicates that a cursor has pre-aggregated data for all AggregatorFactory specified in a CursorBuildSpec. If true, engines should rewrite the query to use AggregatorFactory.getCombiningAggreggator, and column selector factories will provide selectors with the aggregator interediate type for the aggregator factory name
* Added groupby, timeseries, and topN support for CursorHolder.isPreAggregated
* Added synthetic test since no CursorHolder implementations support isPreAggregated at this point in time
kfaraz added a commit that referenced this pull request Oct 1, 2024
…gated data (#17058) (#17205)

changes:
* CursorHolder.isPreAggregated method indicates that a cursor has pre-aggregated data for all AggregatorFactory specified in a CursorBuildSpec. If true, engines should rewrite the query to use AggregatorFactory.getCombiningAggreggator, and column selector factories will provide selectors with the aggregator interediate type for the aggregator factory name
* Added groupby, timeseries, and topN support for CursorHolder.isPreAggregated
* Added synthetic test since no CursorHolder implementations support isPreAggregated at this point in time

Co-authored-by: Clint Wylie <cwylie@apache.org>
@clintropolis clintropolis mentioned this pull request Nov 14, 2024
@adarshsanjeev adarshsanjeev added this to the 32.0.0 milestone Jan 16, 2025
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