-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SparkSQL] allow UDF on struct #796
Conversation
This is to fix a bug where apply Hive UDF on a struct, it will throw NoMatch exception. |
Can one of the admins verify this patch? |
Can you add a test case? Or maybe find a HiveTest case that can be whitelisted in HiveCompatibilitySuite? |
I have a test but it has too much application information, so I will try to write a minimum test. Unfortunately named_struct also failed to work because it is expecting WritableConstantStringObjectInspector, and catalyst returned JavaStringObjectInspector, I am not sure I want to change that yet. |
test this please |
Merged build triggered. |
Merged build started. |
Merged build finished. |
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15324/ |
Thanks for working on this! Looks like adding the extra function is breaking the |
test this please |
Merged build triggered. |
Merged build started. |
Merged build finished. |
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15780/ |
test this please |
Merged build triggered. |
Merged build started. |
Merged build finished. |
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15781/ |
@pwendell, any idea what is going on here? I keep getting:
|
test this please |
Merged build triggered. |
Merged build started. |
Merged build finished. |
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15782/ |
Jenkins, retest this please. |
Merged build triggered. |
Merged build started. |
Merged build finished. All automated tests passed. |
All automated tests passed. |
Author: Xi Liu <xil@conviva.com> Closes #796 from xiliu82/sqlbug and squashes the following commits: 328dfc4 [Xi Liu] [Spark SQL] remove a temporary function after test 354386a [Xi Liu] [Spark SQL] add test suite for UDF on struct 8fc6f51 [Xi Liu] [SparkSQL] allow UDF on struct (cherry picked from commit f5a4049) Signed-off-by: Michael Armbrust <michael@databricks.com>
Thanks! I've merged this into master and 1.0 as https://issues.apache.org/jira/browse/SPARK-2164 |
Author: Xi Liu <xil@conviva.com> Closes apache#796 from xiliu82/sqlbug and squashes the following commits: 328dfc4 [Xi Liu] [Spark SQL] remove a temporary function after test 354386a [Xi Liu] [Spark SQL] add test suite for UDF on struct 8fc6f51 [Xi Liu] [SparkSQL] allow UDF on struct
Author: Xi Liu <xil@conviva.com> Closes apache#796 from xiliu82/sqlbug and squashes the following commits: 328dfc4 [Xi Liu] [Spark SQL] remove a temporary function after test 354386a [Xi Liu] [Spark SQL] add test suite for UDF on struct 8fc6f51 [Xi Liu] [SparkSQL] allow UDF on struct
No description provided.