Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/4163#discussion_r23515293
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala
---
@@ -508,6 +508,11 @@ class HiveQuerySuite extends HiveComparisonTest with
BeforeAndAfter {
assert(sql("select key from src having key > 490").collect().size <
100)
}
+ test("SPARK-5367: resolve star expression in udf") {
+ assert(sql("select concat(*) from src limit 5").collect().size == 5)
+ assert(sql("select array(*) from src limit 5").collect().size == 5)
--- End diff --
Would be better to check the answers with `checkAnswer`.
---
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]