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

Order by on select * fails

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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 order by age;
      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "e2eb9f49-d82b-41f3-a518-8ab698ed5812"
      endpoint {
      address: "drillats3.qa.lab"
      user_port: 31010
      control_port: 31011
      data_port: 31012
      }
      error_type: 0
      message: "Failure while setting up Foreman. < AssertionError:[ Internal error: Conversion to relational algebra failed to preserve datatypes:\nvalidated type:\nRecordType(ANY NOT NULL ) NOT NULL\nconverted type:\nRecordType(ANY NOT NULL *, ANY NOT NULL age) NOT NULL\nrel:\nProjectRel(=[$0], age=[$1])\n SortRel(sort0=[$1], dir0=[ASC])\n ProjectRel(*=[$0], age=[$1], age0=[$1])\n TableAccessRel(table=[[dfs, drillTestDirP1, student]])\n ]"
      ]
      Error: exception while executing query (state=,code=0)

      The query fails with the same error.

      Attachments

        Issue Links

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment