Uh oh!
There was an error while loading. Please reload this page.
[SPARK-8104][SQL] auto alias expressions in analyzer - #6647
Conversation
cloud-fan
commented
Jun 4, 2015
The tests will fail as we need to fix the complex field order by issue first. See #5659 |
cloud-fan
commented
Jun 4, 2015
SparkQA
commented
Jun 4, 2015
Test build #34193 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 5, 2015
Test build #34241 has finished for PR 6647 at commit
|
There was a problem hiding this comment.
exprs.map should be enough? We should just resolve the Alias for the root of a given expression tree, right?
chenghao-intel
commented
Jun 5, 2015
For DataFrame API, probably we'd better still keep the existed naming pattern, as we don't want to confusing the users when upgrade the spark. |
SparkQA
commented
Jun 5, 2015
Test build #34268 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 6, 2015
Test build #34353 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 18, 2015
Test build #35138 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 19, 2015
Test build #35226 has finished for PR 6647 at commit
|
cloud-fan
commented
Jun 21, 2015
retest this please. |
SparkQA
commented
Jun 21, 2015
Test build #35386 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 21, 2015
Test build #35394 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 21, 2015
Test build #35399 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 21, 2015
Test build #35407 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 21, 2015
Test build #35413 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 22, 2015
Test build #35424 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 22, 2015
Test build #35432 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 22, 2015
Test build #35436 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 22, 2015
Test build #35438 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 22, 2015
Test build #35443 has finished for PR 6647 at commit
|
SparkQA
commented
Jun 22, 2015
Test build #35449 has finished for PR 6647 at commit
|
marmbrus
commented
Jun 22, 2015
Thanks for cleaning this up. Merging to master! |
Currently we auto alias expression in parser. However, during parser phase we don't have enough information to do the right alias. For example, Generator that has more than 1 kind of element need MultiAlias, ExtractValue don't need Alias if it's in middle of a ExtractValue chain. Author: Wenchen Fan <cloud0fan@outlook.com> Closesapache#6647 from cloud-fan/alias and squashes the following commits: 552eba4 [Wenchen Fan] fix python 5b5786d [Wenchen Fan] fix agg 73a90cb [Wenchen Fan] fix case-preserve of ExtractValue 4cfd23c [Wenchen Fan] fix order by d18f401 [Wenchen Fan] refine 9f07359 [Wenchen Fan] address comments 39c1aef [Wenchen Fan] small fix 33640ec [Wenchen Fan] auto alias expressions in analyzer
Currently we auto alias expression in parser. However, during parser phase we don't have enough information to do the right alias. For example, Generator that has more than 1 kind of element need MultiAlias, ExtractValue don't need Alias if it's in middle of a ExtractValue chain.