GitHub user liancheng opened a pull request:
https://github.com/apache/spark/pull/5129
[SPARK-6452] [SQL] Checks for missing attributes and unresolved operator
for all types of operator
In `CheckAnalysis`, `Filter` and `Aggregate` are checked in separate case
clauses, thus never hit those clauses for unresolved operators and missing
input attributes.
This PR also removes the `prettyString` call when generating error message
for missing input attributes. Because result of `prettyString` doesn't contain
expression ID, and may give confusing messages like
> resolved attributes a missing from a
cc @rxin
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liancheng/spark spark-6452
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5129.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 #5129
----
commit 46facb9e943a96fb1cda1301d1671a0c0cd051a8
Author: Cheng Lian <[email protected]>
Date: 2015-03-22T13:51:48Z
Checks for missing attributes and unresolved operator for all types of
operator
----
---
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]