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

[CBRD-25801] Problems that occur when a hidden column is generated due to ORDER BY clause in a subquery #5780

Merged
merged 4 commits into from
Jan 9, 2025

Conversation

shparkcubrid
Copy link
Contributor

@shparkcubrid shparkcubrid commented Jan 8, 2025

http://jira.cubrid.org/browse/CBRD-25801

In CBRD-24181, when optimizing the select list of a subquery, a column in ORDER BY is added. At that time, a hidden column property is added, and the query that has already been rewritten in qo_rewrite_hidden_col_as_derived() is unnessarary rewritten twice, causing an issue. Fix to remove the hidden property if the existing select list does not have it.

@shparkcubrid shparkcubrid self-assigned this Jan 8, 2025
@shparkcubrid shparkcubrid requested a review from youngjinj January 9, 2025 03:48
@shparkcubrid shparkcubrid merged commit 92b6af5 into CUBRID:develop Jan 9, 2025
9 of 10 checks passed
@shparkcubrid shparkcubrid deleted the CBRD-25801 branch January 9, 2025 05:50
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