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

Michael Smith resolved IMPALA-13270.
------------------------------------
    Fix Version/s: Impala 4.4.1
       Resolution: Fixed

> Bug when comparing ExprSubstitutionMap.size()
> ---------------------------------------------
>
>                 Key: IMPALA-13270
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13270
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 4.5.0
>            Reporter: Riza Suminto
>            Assignee: Michael Smith
>            Priority: Critical
>             Fix For: Impala 4.4.1
>
>
> IMPALA-12800 implements deduplication in ExprSubstitutionMap. It is possible 
> that ExprSubstitutionMap.size() will return different value after 
> IMPALA-12800. We need to revisit ExprSubstitutionMap.size() calls, especially 
> within Precondition such as in RuntimeFilterGenerator.computeTargetExpr() and 
> ExprSubstitutionMap.trim().
> In particular, the following query causes IllegalStateException
> {code}
> USE functional;
> SELECT alt.int_col, alt.string_col
> FROM alltypes alt
> INNER JOIN (
>   SELECT int_col,
>     concat('20', substring(date_string_col, 7, 2), '-', 
> substring(date_string_col, 4, 2), '-', substring(date_string_col, 1, 2), ' 
> 00:00:00') ts
>   FROM alltypesaggnonulls GROUP BY int_col, date_string_col
> ) altann ON altann.ts = from_unixtime(alt.id, 'yyyy-MM-dd HH:mm:ss'); 
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to