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

order by on select * with filter fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.4.0
    • SQL Parser
    • None

    Description

      0: jdbc:drill:schema=dfs.drillTestDirP1> explain plan for select * from student where gpa>2 order by gpa;
      ----------------------+

      text json

      ----------------------+

      ScreenPrel: rowcount = 50.0, cumulative cost = {281.48092021712586 rows, 141.0 cpu, 0.0 io}

      , id = 17763
      SingleMergeExchangePrel(sort0=[1 ASC]): rowcount = 50.0, cumulative cost =

      {276.48092021712586 rows, 136.0 cpu, 0.0 io}

      , id = 17762
      SortPrel(sort0=[$1], dir

      ----------------------+
      1 row selected (0.068 seconds)
      0: jdbc:drill:schema=dfs.drillTestDirP1> select * from student where gpa>2 order by gpa;
      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "f9ef8a1b-e231-4e97-a04b-1c9da48e9262"
      endpoint {
      address: "drillats1.qa.lab"
      user_port: 31010
      control_port: 31011
      data_port: 31012
      }
      error_type: 0
      message: "Failure while running fragment. < ClassCastException:[ org.apache.drill.exec.vector.VarBinaryVector cannot be cast to org.apache.drill.exec.vector.Float4Vector ]"
      ]
      Error: exception while executing query (state=,code=0)

      Might be related to Drill-586 but looks unlikely. That bug failed during plan phase itself.

      Attachments

        Issue Links

          Activity

            People

              jnadeau Jacques Nadeau
              inramana Ramana Inukonda Nagaraj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: