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

Max function against string fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 0.4.0
    • Functions - Drill
    • None

    Description

      Ran the following query:
      select max(name) from dfs.`student`;

      The query failed with the following error:
      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "c7f5cb9e-e172-4366-9a86-99523cc828b5"
      endpoint {
      address: "qa-node57.qa.lab"
      user_port: 31010
      control_port: 31011
      data_port: 31012
      }
      error_type: 0
      message: "Failure while running fragment. < NumberFormatException:[ fred ovid ]"
      ]
      Error: exception while executing query (state=,code=0)
      0: jdbc:drill:schema=dfs> select max(name) from dfs.`student`;
      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "b7d8d803-68ad-49ef-9958-1d4c6708bd1b"
      endpoint {
      address: "qa-node57.qa.lab"
      user_port: 31010
      control_port: 31011
      data_port: 31012
      }
      error_type: 0
      message: "Failure while running fragment. < NumberFormatException:[ fred ovid ]"
      ]
      Error: exception while executing query (state=,code=0)

      Attachments

        Activity

          People

            jnadeau Jacques Nadeau
            knguyen Krystal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: