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:59:00 UTC
[jira] [Updated] (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: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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org