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 13, 2024 11:38am
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 11:38am
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 11:38am
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 11:38am
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 11:38am
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 11:38am
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 11:38am
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 11:38am

Copy link

codecov bot commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.69%. Comparing base (5fd13d1) to head (f9925b7).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8929      +/-   ##
==========================================
+ Coverage   82.66%   82.69%   +0.03%     
==========================================
  Files         221      221              
  Lines       78303    78438     +135     
==========================================
+ Hits        64726    64865     +139     
+ Misses      13577    13573       -4     
Flag Coverage Δ
cubesql 82.69% <100.00%> (+0.03%) ⬆️

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 3 times, most recently from b5fc0e4 to afa5daa Compare November 8, 2024 10:34
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