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

fix(cubesql): Allow aggregation pushdown only for unlimited CubeScan #8929

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mcheshkov
Copy link
Member

Check List

  • Tests has been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Description of Changes Made (if issue reference is not provided)

Aggregate(CubeScan(limit=n)) is not equivalent to CubeScan(aggregation, limit=n)
Former does aggregation over first n rows, latter returns first n rows after aggregation.

Copy link

vercel bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-angular-dashboard ⬜️ Ignored (Inspect) Visit Preview Nov 27, 2024 1:04pm
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview Nov 27, 2024 1:04pm
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview Nov 27, 2024 1:04pm
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview Nov 27, 2024 1:04pm
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview Nov 27, 2024 1:04pm
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview Nov 27, 2024 1:04pm
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview Nov 27, 2024 1:04pm
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview Nov 27, 2024 1:04pm

Copy link

codecov bot commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.71%. Comparing base (591a383) to head (66ee562).
Report is 23 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8929      +/-   ##
==========================================
+ Coverage   82.69%   82.71%   +0.02%     
==========================================
  Files         221      221              
  Lines       78467    78607     +140     
==========================================
+ Hits        64888    65022     +134     
- Misses      13579    13585       +6     
Flag Coverage Δ
cubesql 82.71% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mcheshkov mcheshkov marked this pull request as ready for review November 8, 2024 01:33
@mcheshkov mcheshkov requested a review from a team as a code owner November 8, 2024 01:33
@mcheshkov mcheshkov force-pushed the deny-aggregation-over-limit branch 4 times, most recently from afa5daa to f9925b7 Compare November 13, 2024 11:37
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.

2 participants