GitHub user yzhou2001 opened a pull request:
https://github.com/apache/spark/pull/10450
[SPARK-10838][SPARK-11576][SQL] Incorrect results or exceptions when using
self-joins
I believe the issue is that the mapping between the columns in the join
condition and those in the right relation is broken when the right relation has
to be regenerated if the conflicting attributes are present.
The fix is to adjust the column mappings in the join condition if necessary.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yzhou2001/spark fix_of_Spark-10838_and_11576
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10450.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #10450
----
commit 41311faf74d0d7e46e8fe1075b4ae87b4c40d82a
Author: yzhou2001 <[email protected]>
Date: 2015-12-23T17:08:34Z
fix for Spark-10838/11576
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]