diff options
author | Michael Armbrust <michael@databricks.com> | 2015-03-31 11:23:18 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-03-31 11:23:18 -0700 |
commit | cd48ca50129e8952f487051796244e7569275416 (patch) | |
tree | 86e5163226596544e711fb253e0ce76d7aeeacc4 /python/pyspark/mllib | |
parent | 81020144708773ba3af4932288ffa09ef901269e (diff) | |
download | spark-cd48ca50129e8952f487051796244e7569275416.tar.gz spark-cd48ca50129e8952f487051796244e7569275416.tar.bz2 spark-cd48ca50129e8952f487051796244e7569275416.zip |
[SPARK-6145][SQL] fix ORDER BY on nested fields
This PR is based on work by cloud-fan in #4904, but with two differences:
- We isolate the logic for Sort's special handling into `ResolveSortReferences`
- We avoid creating UnresolvedGetField expressions during resolution. Instead we either resolve GetField or we return None. This avoids us going down the wrong path early on.
Author: Michael Armbrust <michael@databricks.com>
Closes #5189 from marmbrus/nestedOrderBy and squashes the following commits:
b8cae45 [Michael Armbrust] fix another test
0f36a11 [Michael Armbrust] WIP
91820cd [Michael Armbrust] Fix bug.
Diffstat (limited to 'python/pyspark/mllib')
0 files changed, 0 insertions, 0 deletions