[ 
https://issues.apache.org/jira/browse/SPARK-24982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reynold Xin updated SPARK-24982:
--------------------------------
    Description: 
See udaf.sql.out:

 
{code:java}
– !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{code}
 

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

 

 

  was:
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.

 

 


> 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.0, 2.3.1
>            Reporter: Reynold Xin
>            Priority: Major
>
> See udaf.sql.out:
>  
> {code:java}
> – !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{code}
>  
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to