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

Don't pass a column object to addOrderBy #27429

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

kesselb
Copy link
Contributor

@kesselb kesselb commented Jun 8, 2021

Fix #26085
Close #26855

addOrderBy expects a order expression. For the migration scenario we have column objects. Column objects are not supported by quoteColumnName yet. A column object as order expression is most likely an edgy thing when migration database information.

I run into the issue today when migration some data for a test and had a chance to test it.

addOrderBy expects a order expression. For the migration scenario we have column objects. Column objects are not supported by quoteColumnName yet.

A column object as order expression is most likely an edgy thing when migration database information.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb kesselb added 3. to review Waiting for reviews bug labels Jun 8, 2021
@kesselb kesselb changed the title Fix #26085 Don't pass a column object to addOrderBy Jun 8, 2021
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

Makes sense 🙈

@ChristophWurst ChristophWurst merged commit 932a385 into master Jun 9, 2021
@ChristophWurst ChristophWurst deleted the bug/26085/wrong-data-add-order-by branch June 9, 2021 07:12
@enoch85
Copy link
Member

enoch85 commented Jun 9, 2021

Backport?

@kesselb
Copy link
Contributor Author

kesselb commented Jun 9, 2021

/backport to stable21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
5 participants