You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2021/02/06 08:14:00 UTC
[jira] [Created] (IMPALA-10482) Select-star query on unrelative
collection column of transactional table hits IllegalStateException
Quanlong Huang created IMPALA-10482:
---------------------------------------
Summary: Select-star query on unrelative collection column of transactional table hits IllegalStateException
Key: IMPALA-10482
URL: https://issues.apache.org/jira/browse/IMPALA-10482
Project: IMPALA
Issue Type: Bug
Components: Frontend
Affects Versions: Impala 4.0
Reporter: Quanlong Huang
{{SELECT *}} query onĀ unrelative collection column of transactional ORC table will hit IllegalStateException.
Reproduce the bug by:
{code:sql}
create table my_complex_orc (id int, int_array array<int>) stored as orc tblproperties('transactional'='true');
select * from my_complex_orc.int_array;
{code}
FE stacktrace:
{code:java}
I0206 16:04:42.212499 15294 Frontend.java:1587] 7e42f06526f5791a:e18eb18e00000000] Analyzing query: select * from my_complex_orc.int_array db: default
I0206 16:04:42.213887 15294 jni-util.cc:288] 7e42f06526f5791a:e18eb18e00000000] java.lang.IllegalStateException
at com.google.common.base.Preconditions.checkState(Preconditions.java:492)
at org.apache.impala.analysis.StatementBase.castResultExprs(StatementBase.java:114)
at org.apache.impala.analysis.AnalysisContext.analyze(AnalysisContext.java:561)
at org.apache.impala.analysis.AnalysisContext.analyzeAndAuthorize(AnalysisContext.java:445)
at org.apache.impala.service.Frontend.doCreateExecRequest(Frontend.java:1627)
at org.apache.impala.service.Frontend.getTExecRequest(Frontend.java:1594)
at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1564)
at org.apache.impala.service.JniFrontend.createExecRequest(JniFrontend.java:159)
{code}
cc [~boroknagyz]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)