Github user marmbrus commented on the pull request:
https://github.com/apache/spark/pull/758#issuecomment-42991927
Nice speed up! :)
I looked at the test failure. Looks like [this
TODO](https://github.com/apache/spark/blob/master/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveComparisonTest.scala#L136)
is finally coming back to bite us. Instead of looking for _any_ Sort we
should walk the tree until we find either a Sort or an operation that doesn't
preserve ordering (join , aggregate, etc).
Once we fix that I'd propose merging this right away and then addressing
the other possible suggestions in a followup PR.
---
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.
---