Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/10140#discussion_r55629480
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/UDFSuite.scala ---
@@ -247,4 +248,21 @@ class UDFSuite extends QueryTest with SharedSQLContext
{
sql("SELECT tmp.t.* FROM (SELECT testDataFunc(a, b) AS t from
testData2) tmp").toDF(),
testData2)
}
+
+ test("Column aliases are ignored in callUDF while using struct()") {
--- End diff --
I checked and the test passes as @marmbrus said. Since this is old PR (3
months), I think this bug is already fixed in current codebase. So I will close
this now.
---
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]