Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
Impala 4.0.0
-
None
-
ghx-label-9
Description
SELECT * query on unrelative collection column of transactional ORC table will hit IllegalStateException.
Reproduce the bug by:
create table my_complex_orc (id int, int_array array<int>) stored as orc tblproperties('transactional'='true'); select * from my_complex_orc.int_array;
FE stacktrace:
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)
Attachments
Attachments
Issue Links
- is required by
-
IMPALA-10484 Support using non-relative collection columns of a table containing row-filtering policies
- Open