Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major aggregation factory and completeness cleanup #1903

Merged
merged 44 commits into from
Feb 3, 2022

Conversation

rcaudy
Copy link
Member

@rcaudy rcaudy commented Jan 31, 2022

Fixes #1630
Fixes #1661

Adds: (These all existed previously, but were only accessible via obscure construction patterns in the engine-table module.)

  • (one of two) missing AggUnique options
  • AggFirstRowKey
  • AggLastRowKey
  • AggTDigest
  • AggApproximatePercentile
  • AggFreeze

Improves the mechanism for specifying multiple AggPct percentiles, and uses the same pattern for AggApproxPct.

More importantly (but less exciting from a user-facing standpoint), eliminates duplicative code paths in aggregation translation (from user intent expressed via Aggregation to actual chunked operators in an AggregationContext). This logic is now mostly self-contained within the new AggregationProcessor class, with minimal glue in QueryTable and a handful of visitors.

@rcaudy rcaudy requested a review from cpwright February 3, 2022 17:45
@rcaudy rcaudy merged commit 8b0eb0a into deephaven:main Feb 3, 2022
@rcaudy rcaudy deleted the rwc-aggcleanup-1 branch February 3, 2022 19:19
@github-actions github-actions bot locked and limited conversation to collaborators Feb 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AggSpecUnique is missing noValue and nonUniqueValue options engine-table aggregations need cleanup
2 participants