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

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

    [ https://issues.apache.org/jira/browse/SPARK-24982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16564364#comment-16564364 ] 

Apache Spark commented on SPARK-24982:
--------------------------------------

User 'rxin' has created a pull request for this issue:
https://github.com/apache/spark/pull/21938

> 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
>            Assignee: 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org