GitHub user gatorsmile opened a pull request:
https://github.com/apache/spark/pull/18520
[SPARK-21295] [SQL] Use qualified names in error message for missing
references
### What changes were proposed in this pull request?
It is strange to see the following error message. Actually, the column is
from another table.
```
cannot resolve '`right.a`' given input columns: [a, c, d];
```
After the PR, the error message looks like
```
cannot resolve '`right.a`' given input columns: [left.a, right.c, right.d];
```
### How was this patch tested?
Added a test case
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gatorsmile/spark removeSQLConf
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18520.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 #18520
----
commit f3c722d5fac7ffb7d134dcd02ae2e7f4bf61ac85
Author: gatorsmile <[email protected]>
Date: 2017-07-04T00:31:27Z
fix
----
---
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]