spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenghao-intel <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-3891][SQL] Add array support to percent...
Date Wed, 05 Nov 2014 01:36:39 GMT
Github user chenghao-intel commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2802#discussion_r19850308
  
    --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveUdfSuite.scala
---
    @@ -87,8 +87,23 @@ class HiveUdfSuite extends QueryTest {
       test("SPARK-2693 udaf aggregates test") {
         checkAnswer(sql("SELECT percentile(key,1) FROM src LIMIT 1"),
           sql("SELECT max(key) FROM src").collect().toSeq)
    +      
    +    checkAnswer(sql("SELECT percentile(key,array(1,1)) FROM src LIMIT 1"),
    +      sql("SELECT array(max(key),max(key)) FROM src").collect().toSeq)
    +      
    +    TestHive.reset()
    --- End diff --
    
    Oh, this is quite strange. Can you investigate that?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message