Github user chenghao-intel commented on a diff in the pull request:

    https://github.com/apache/spark/pull/6178#discussion_r30479606
  
    --- 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(array(key, key)) as (k1, k2), key, value FROM 
src").collect()
    --- End diff --
    
    Oh, yes, it's suppose to be `explode(map(key, key))`


---
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]

Reply via email to