GitHub user gatorsmile opened a pull request:
https://github.com/apache/spark/pull/11416
[SPARK-13536] [SQL] Missing Sort Attributes in Transform Clauses
#### What changes were proposed in this pull request?
When missing sort attributes are not in the output of `Transform`, we
should not bypass it and check its child nodes. Like `subquery`, we should not
continue finding the missing attributes in its child nodes.
#### How was this patch tested?
This is an internal code bug. So far, unable to trigger the external
behavior difference. The newly added code is just for covering and verifying it.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gatorsmile/spark missingSortAttrInTransform
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11416.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 #11416
----
commit 52942e9f6be8ca76bfed5a0c723f993c238c6088
Author: gatorsmile <[email protected]>
Date: 2016-02-28T06:08:06Z
Merge remote-tracking branch 'upstream/master' into dataSetPruning
commit 1199ca8ab4d6ab6c15a1a391f4cf63dbc9fd9851
Author: gatorsmile <[email protected]>
Date: 2016-02-28T06:08:38Z
missing sort attributes for script transform
----
---
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]