You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2018/07/31 18:57:00 UTC

[jira] [Created] (SPARK-24982) UDAF resolution should not throw java.lang.AssertionError

Reynold Xin created SPARK-24982:
-----------------------------------

             Summary: UDAF resolution should not throw java.lang.AssertionError
                 Key: SPARK-24982
                 URL: https://issues.apache.org/jira/browse/SPARK-24982
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.3.1, 2.3.0
            Reporter: Reynold Xin


See udaf.sql.out:

 

-- !query 3
SELECT default.myDoubleAvg(int_col1, 3) as my_avg from t1
-- !query 3 schema
struct<>
-- !query 3 output
java.lang.AssertionError
assertion failed: Incorrect number of children1

 

We should never throw AssertionError unless there is a bug in the system itself.

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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