-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-6231][SQL/DF] Automatically resolve join condition ambiguity for self-joins. #5919
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
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.
iff => if ???
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.
iff == if and only if
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.
"if and only if" should be much more specific in the method comment IMHO.
iff can be confusing.
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.
iff
is a pretty standard shortening and is used throughout the spark code base already.
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.
Sorry but I disagree. We use it iff a lot in SQL / algebra, and if you Google, the first thing that comes up is "if and only if". Plus this is an internal comment.
edit: This was in response to @damiencarol's comment, not @marmbrus'.
Test build #31901 has finished for PR 5919 at commit
|
Jenkins, retest this please. |
Test build #31900 has finished for PR 5919 at commit
|
Test build #31903 has finished for PR 5919 at commit
|
Test build #31915 has finished for PR 5919 at commit
|
Thanks! Merged to master. |
…or self-joins. See the comment in join function for more information. Author: Reynold Xin <[email protected]> Closes #5919 from rxin/self-join-resolve and squashes the following commits: e2fb0da [Reynold Xin] Updated SQLConf comment. 7233a86 [Reynold Xin] Updated comment. 6be2b4d [Reynold Xin] Removed println 9f6b72f [Reynold Xin] [SPARK-6231][SQL/DF] Automatically resolve ambiguity in join condition for self-joins.
... and branch 1.4 |
…or self-joins. See the comment in join function for more information. Author: Reynold Xin <[email protected]> Closes apache#5919 from rxin/self-join-resolve and squashes the following commits: e2fb0da [Reynold Xin] Updated SQLConf comment. 7233a86 [Reynold Xin] Updated comment. 6be2b4d [Reynold Xin] Removed println 9f6b72f [Reynold Xin] [SPARK-6231][SQL/DF] Automatically resolve ambiguity in join condition for self-joins.
…or self-joins. See the comment in join function for more information. Author: Reynold Xin <[email protected]> Closes apache#5919 from rxin/self-join-resolve and squashes the following commits: e2fb0da [Reynold Xin] Updated SQLConf comment. 7233a86 [Reynold Xin] Updated comment. 6be2b4d [Reynold Xin] Removed println 9f6b72f [Reynold Xin] [SPARK-6231][SQL/DF] Automatically resolve ambiguity in join condition for self-joins.
…or self-joins. See the comment in join function for more information. Author: Reynold Xin <[email protected]> Closes apache#5919 from rxin/self-join-resolve and squashes the following commits: e2fb0da [Reynold Xin] Updated SQLConf comment. 7233a86 [Reynold Xin] Updated comment. 6be2b4d [Reynold Xin] Removed println 9f6b72f [Reynold Xin] [SPARK-6231][SQL/DF] Automatically resolve ambiguity in join condition for self-joins.
See the comment in join function for more information.