GitHub user gatorsmile opened a pull request:
https://github.com/apache/spark/pull/16994
[SPARK-15453] [SQL] [Follow-up] FileSourceScanExec to extract
`outputOrdering` information
### What changes were proposed in this pull request?
`outputOrdering` is also dependent on whether the bucket has more than one
files. The test cases fail when we try to move them to sql/core. This PR is to
fix the test cases introduced in https://github.com/apache/spark/pull/14864.
This PR is to fix the test cases and add a test case to verify [the related
logics](https://github.com/tejasapatil/spark/blob/070c24994747c0479fb2520774ede27ff1cf8cac/sql/core/src/main/scala/org/apache/spark/sql/execution/DataSourceScanExec.scala#L197-L206).
### How was this patch tested?
N/A
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gatorsmile/spark bucketingTS
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16994.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 #16994
----
commit d158ce1331125a246d6383bb5def75ff0260d399
Author: Xiao Li <[email protected]>
Date: 2017-02-20T00:34:09Z
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]