Skip to content

Conversation

@MazterQyou
Copy link
Member

Check List

  • Tests have 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

This PR workarounds an issue with recently introduced Limit-Sort push down Projection rules, throwing an error when sort column has been replaced with a complex expression and SQL push down is involved. This is a bug in SQL push down generation, so for now only expressions that resolve to columns are being pushed down.

Signed-off-by: Alex Qyoun-ae <4062971+MazterQyou@users.noreply.github.com>
@MazterQyou MazterQyou requested a review from a team as a code owner July 16, 2025 19:54
Copy link
Member

@KSDaemon KSDaemon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@codecov
Copy link

codecov bot commented Jul 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.31%. Comparing base (18e4c40) to head (454ff2e).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #9787   +/-   ##
=======================================
  Coverage   84.31%   84.31%           
=======================================
  Files         234      234           
  Lines       86951    86954    +3     
=======================================
+ Hits        73314    73317    +3     
  Misses      13637    13637           
Flag Coverage Δ
cubesql 84.31% <100.00%> (+<0.01%) ⬆️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@KSDaemon KSDaemon force-pushed the cubesql/fix-sort-push-down-complex-expr branch from 3d7ca8a to 454ff2e Compare July 17, 2025 09:22
@KSDaemon KSDaemon merged commit cd1c983 into master Jul 17, 2025
114 of 115 checks passed
@KSDaemon KSDaemon deleted the cubesql/fix-sort-push-down-complex-expr branch July 17, 2025 10:39
Frank-TXS pushed a commit to Helge-TXS/cube that referenced this pull request Aug 5, 2025
…ube-js#9787)

* fix(cubesql): Fix sort push down projection on complex expressions

Signed-off-by: Alex Qyoun-ae <4062971+MazterQyou@users.noreply.github.com>

* temp switch to macos14 for gh ci runner

---------

Signed-off-by: Alex Qyoun-ae <4062971+MazterQyou@users.noreply.github.com>
Co-authored-by: Konstantin Burkalev <KSDaemon@gmail.com>
igorlukanin pushed a commit that referenced this pull request Oct 29, 2025
…9787)

* fix(cubesql): Fix sort push down projection on complex expressions

Signed-off-by: Alex Qyoun-ae <4062971+MazterQyou@users.noreply.github.com>

* temp switch to macos14 for gh ci runner

---------

Signed-off-by: Alex Qyoun-ae <4062971+MazterQyou@users.noreply.github.com>
Co-authored-by: Konstantin Burkalev <KSDaemon@gmail.com>
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.

3 participants