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: fix multiple sorts deparse #66

Merged
merged 1 commit into from
Mar 8, 2023
Merged

fix: fix multiple sorts deparse #66

merged 1 commit into from
Mar 8, 2023

Conversation

burmecia
Copy link
Member

@burmecia burmecia commented Mar 3, 2023

What kind of change does this PR introduce?

This PR is to fix a bug when deparsing multiple sorts.

What is the current behavior?

When the order by have multiple columns, the deparsed sql is like order by x order by y which is incorrect.

What is the new behavior?

The Sort::deparse() outputs sql without order by, which should be done in fdw.

Additional context

N/A

@burmecia burmecia self-assigned this Mar 3, 2023
@burmecia burmecia added the bug Something isn't working label Mar 3, 2023
@burmecia burmecia requested a review from olirice March 3, 2023 13:11
@burmecia burmecia merged commit ee817d1 into main Mar 8, 2023
@burmecia burmecia deleted the fix/sort-deparse branch March 8, 2023 07:16
kamyshdm pushed a commit to dymium-io/supabase-wrappers that referenced this pull request Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants