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): Fix NULLS FIRST/LAST SQL push down for several dialects #8895

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

MazterQyou
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

This PR fixes NULLS FIRST/NULLS LAST for dialects that don't support the clause, emulating it with IS NULL. Related test is included.

@MazterQyou MazterQyou requested review from a team as code owners November 1, 2024 14:55
Copy link

codecov bot commented Nov 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.55%. Comparing base (15afec1) to head (868fde1).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8895   +/-   ##
=======================================
  Coverage   82.54%   82.55%           
=======================================
  Files         221      221           
  Lines       77667    77703   +36     
=======================================
+ Hits        64111    64147   +36     
  Misses      13556    13556           
Flag Coverage Δ
cubesql 82.55% <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.

@MazterQyou MazterQyou force-pushed the cubesql/nulls-first-last-fix branch from 666c0ad to 8f71de2 Compare November 7, 2024 18:58
@MazterQyou MazterQyou requested a review from a team as a code owner November 7, 2024 18:58
Copy link

vercel bot commented Nov 7, 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 7, 2024 9:45pm
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview Nov 7, 2024 9:45pm
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview Nov 7, 2024 9:45pm
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview Nov 7, 2024 9:45pm
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview Nov 7, 2024 9:45pm
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview Nov 7, 2024 9:45pm
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview Nov 7, 2024 9:45pm
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview Nov 7, 2024 9:45pm

@MazterQyou MazterQyou force-pushed the cubesql/nulls-first-last-fix branch from 8f71de2 to 868fde1 Compare November 7, 2024 21:45
@MazterQyou MazterQyou merged commit 61c5ac6 into master Nov 8, 2024
78 checks passed
@MazterQyou MazterQyou deleted the cubesql/nulls-first-last-fix branch November 8, 2024 01:15
ptiurin pushed a commit to firebolt-db/cube that referenced this pull request Nov 27, 2024
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