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-25316] For UPDATE JOIN statements, aggregate functions or analytic functions cannot be used in the SET and WHERE clauses #5143

Merged
merged 7 commits into from
Jun 18, 2024

Conversation

youngjinj
Copy link
Contributor

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

The execution result of the UPDATE JOIN statement depends on whether the USE_MERGE hint is used. To prevent this issue, do not allow the use of analytic functions in the SET and WHERE clauses of UPDATE JOIN statements. Aggregate functions could not be used in UPDATE statements, even if they were not UPDATE JOIN statements.

@youngjinj youngjinj self-assigned this Apr 23, 2024
@youngjinj youngjinj marked this pull request as ready for review May 8, 2024 04:29
@youngjinj youngjinj requested a review from beyondykk9 as a code owner May 8, 2024 04:29
@youngjinj youngjinj merged commit 5c9b523 into CUBRID:develop Jun 18, 2024
8 of 9 checks passed
mhoh3963 pushed a commit to mhoh3963/cubrid that referenced this pull request Aug 6, 2024
…tic functions cannot be used in the SET and WHERE clauses (CUBRID#5143)

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

The execution result of the UPDATE JOIN statement depends on whether the USE_MERGE hint is used. To prevent this issue, do not allow the use of analytic functions in the SET and WHERE clauses of UPDATE JOIN statements. Aggregate functions could not be used in UPDATE statements, even if they were not UPDATE JOIN statements.
mhoh3963 pushed a commit to mhoh3963/cubrid that referenced this pull request Aug 6, 2024
…tic functions cannot be used in the SET and WHERE clauses (CUBRID#5143)

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

The execution result of the UPDATE JOIN statement depends on whether the USE_MERGE hint is used. To prevent this issue, do not allow the use of analytic functions in the SET and WHERE clauses of UPDATE JOIN statements. Aggregate functions could not be used in UPDATE statements, even if they were not UPDATE JOIN statements.
mhoh3963 added a commit to mhoh3963/cubrid that referenced this pull request Aug 8, 2024
…or analytic functions cannot be used in the SET and WHERE clauses (CUBRID#5143)"

This reverts commit 123d262.
mhoh3963 added a commit to mhoh3963/cubrid that referenced this pull request Aug 8, 2024
…or analytic functions cannot be used in the SET and WHERE clauses (CUBRID#5143)"

This reverts commit 4556113.
mhoh3963 added a commit that referenced this pull request Aug 8, 2024
Revert "[CBRD-25316] For UPDATE JOIN statements, aggregate functions or analytic functions cannot be used in the SET and WHERE clauses (#5143)"

This reverts commit 123d262.
mhoh3963 added a commit that referenced this pull request Aug 8, 2024
Revert "[CBRD-25316] For UPDATE JOIN statements, aggregate functions or analytic functions cannot be used in the SET and WHERE clauses (#5143)"

This reverts commit 4556113.
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.

5 participants