Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-727

indexoutofboundexception while setting up foreman

    XMLWordPrintableJSON

Details

    Description

      drill:

      0: jdbc:drill:schema=dfs> select cast(c_groupby as varchar(5)) from data order by c_groupby;
      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "398b5e7a-d263-4b23-8233-d911e781e91a"
      endpoint {
      address: "qa-node120.qa.lab"
      user_port: 31010
      control_port: 31011
      data_port: 31012
      }
      error_type: 0
      message: "Failure while setting up Foreman. < AssertionError:[ Internal error: Error while applying rule ExpandConversionRule, args [rel#2332:AbstractConverter.LOGICAL.ANY([]).[1](child=rel#2324:Subset#3.LOGICAL.ANY([]).[],convention=LOGICAL,DrillDistributionTraitDef=ANY([]),sort=[1])] ] < IndexOutOfBoundsException:[ index (1) must be less than size (1) ]"
      ]
      Error: exception while executing query (state=,code=0)

      postgres:

      foodmart=# select cast(c_groupby as varchar(5)) from data order by c_groupby;
      c_groupby
      -----------

      a
      a
      a
      a
      a
      ab
      ab
      ab
      ab
      ab
      ab
      abc
      abc
      abc
      abc
      abc
      abc
      (23 rows)

      Attachments

        Activity

          People

            DrillCommitter DrillCommitter
            cchang@maprtech.com Chun Chang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: