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

Joining unpartitioned table/view with partitioned table fails with "IllegalStateException: null" at com.cloudera.impala.planner.Planner.createMergeFragment(Planner.java:359)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 1.1
    • Impala 1.1.1
    • None
    • None

    Description

      Joining view created on unpartitioned table with partitioned table fails with "IllegalStateException: null" at com.cloudera.impala.planner.Planner.createMergeFragment(Planner.java:359)

      drop table if exists foo;
      drop view if exists foo_view;
      create table foo(int_col int);
      create view foo_view as select * from foo;
      -- Join with partitioned table (alltypes)
      select * from foo_view v join functional.alltypes a on (v.int_col=a.int_col);
      ERROR: IllegalStateException: null
      I0801 12:43:18.322423 32270 frontend.cc:129] java.lang.IllegalStateException
        at com.google.common.base.Preconditions.checkState(Preconditions.java:129)
        at com.cloudera.impala.planner.Planner.createMergeFragment(Planner.java:359)
        at com.cloudera.impala.planner.Planner.createPlanFragments(Planner.java:264)
        at com.cloudera.impala.planner.Planner.createPlanFragments(Planner.java:126)
        at com.cloudera.impala.service.Frontend.createExecRequest(Frontend.java:367)
        at com.cloudera.impala.service.JniFrontend.createExecRequest(JniFrontend.java:151)
      I0801 12:43:18.337311 32270 status.cc:44] IllegalStateException: null
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            alex.behm Alexander Behm
            lskuff Lenni Kuff
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment