Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10482

Select-star query on unrelative collection column of transactional table hits IllegalStateException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 4.0.0
    • Impala 4.0.0
    • Frontend
    • None

    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)
      

      cc boroknagyz

      Attachments

        Issue Links

          Activity

            People

              boroknagyz Zoltán Borók-Nagy
              stigahuang Quanlong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: