You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Lars Volker (JIRA)" <ji...@apache.org> on 2017/05/21 19:50:04 UTC
[jira] [Resolved] (IMPALA-5339) IMPALA-4166 breaks queries on
tables with sort.column that do a expr rewrite
[ https://issues.apache.org/jira/browse/IMPALA-5339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Volker resolved IMPALA-5339.
---------------------------------
Resolution: Fixed
IMPALA-5339: Fix analysis with sort.columns and expr rewrites
IMPALA-4166 introduced a bug by duplicating code that adds sort
expressions. Upon re-analysis, this code would hit an
IndexOutOfBoundsException.
Change-Id: Ibebba29509ae7eaa691fe305500cda6bd41a179a
Reviewed-on: http://gerrit.cloudera.org:8080/6921
Reviewed-by: Lars Volker <lv...@cloudera.com>
Tested-by: Impala Public Jenkins
> IMPALA-4166 breaks queries on tables with sort.column that do a expr rewrite
> ----------------------------------------------------------------------------
>
> Key: IMPALA-5339
> URL: https://issues.apache.org/jira/browse/IMPALA-5339
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Affects Versions: Impala 2.9.0
> Reporter: Lars Volker
> Assignee: Lars Volker
> Priority: Blocker
>
> IMPALA-4166 breaks queries on tables with sort.column that do an expr rewrite.
> Repro:
> {code}
> create table t (i int) stored as parquet;
> insert into t select cast(id as int) from (select 1 as id union select cast(2 as int) as id) sub;
> {code}
> I will push a fix shortly.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)