-
Notifications
You must be signed in to change notification settings - Fork 28.3k
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
[SPARK-43936][SQL] Fix bug for toSQLId #41430
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 Waiting this PR be merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, waiting CI passed.
local check
|
Let me fix the above issue in another separate PR, as the issues mentioned in the PR currently hinder the GA process. |
@panbingkun can you just fix it here togheter? |
Okay, the tests are almost done. Let's get this merged first. |
@panbingkun Thank you for the fix. I'm waiting this one merged. |
All passed, let me merge this one |
Merged to master. Thanks @panbingkun @HyukjinKwon @beliefer @yikf @Hisoka-X |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, late LGTM. Thank you all for quick fix.
### What changes were proposed in this pull request? The pr aims to fix issue for QueryErrorBase.toSQLId. eg: 1.https://github.com/beliefer/spark/actions/runs/5144414857/jobs/9261862936 2.https://github.com/panbingkun/spark/actions/runs/5145364900/jobs/9262927798 3.https://github.com/panbingkun/spark/actions/runs/5143676069/jobs/9259636037 ### Why are the changes needed? After SPARK-43910, `__auto_generated_subquery_name` from ids in errors should remove, but when the type of `parts` is ArrayBuffer, match will fail. causing unexpected behavior. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? - Manually test. - Pass GA. Closes apache#41430 from panbingkun/fix_bug_natural_join. Authored-by: panbingkun <pbk1982@gmail.com> Signed-off-by: yangjie01 <yangjie01@baidu.com>
What changes were proposed in this pull request?
The pr aims to fix issue for QueryErrorBase.toSQLId.
eg:
1.https://github.com/beliefer/spark/actions/runs/5144414857/jobs/9261862936
2.https://github.com/panbingkun/spark/actions/runs/5145364900/jobs/9262927798
3.https://github.com/panbingkun/spark/actions/runs/5143676069/jobs/9259636037
Why are the changes needed?
After SPARK-43910,
__auto_generated_subquery_name
from ids in errors should remove, but when the type ofparts
is ArrayBuffer, match will fail. causing unexpected behavior.Does this PR introduce any user-facing change?
No.
How was this patch tested?