GitHub user yijieshen opened a pull request:
https://github.com/apache/spark/pull/6828
[SPARK-8283][SQL] Resolve udf_struct test failure in HiveCompatibilitySuite
This PR aimed to resolve udf_struct test failure in HiveCompatibilitySuite.
Currently, this is done by loosening CreateStruct's children type from
NamedExpression to Expression and automatically generating StructField name for
non-NamedExpression children.
The naming convention for unnamed children follows the udf's counterpart in
Hive:
`col1, col2, col3, ...`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yijieshen/spark SPARK-8283
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6828.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 #6828
----
commit 677e0b7fda584ce09b042642a68d98ce530fdfb9
Author: Yijie Shen <[email protected]>
Date: 2015-06-15T08:33:02Z
Resolve udf_struct test failure by automatically generate structField name
for non-NamedExpression children
----
---
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]