Github user marmbrus commented on a diff in the pull request:
https://github.com/apache/spark/pull/6178#discussion_r30539086
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala
---
@@ -111,13 +111,16 @@ class HiveQuerySuite extends HiveComparisonTest with
BeforeAndAfter {
| SELECT key FROM gen_tmp ORDER BY key ASC;
""".stripMargin)
- test("multiple generator in projection") {
+ test("multiple generators in projection") {
+ // TGF with non-TGF in project is allowed in Spark SQL, but not in Hive
+ sql("SELECT explode(map(key, key)) as (k1, k2), key, value FROM
src").collect()
--- End diff --
If we don't have a test for this elsewhere, then this should probably be in
its own `test` block and use `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]