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

Query with "!=" fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0.0
    • 0.4.0
    • Functions - Drill
    • None
    • CentOS release 6.2

    Description

      Ran the following query via jdbc/sqlline:
      select distinct(registration) from voter where registration != 'independent';

      Got the following error:
      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "34efdf20-56fe-4bf3-a66f-d0dbf4744814"
      endpoint {
      address: "qa-node56.qa.lab"
      user_port: 31010
      control_port: 31011
      data_port: 31012
      }
      error_type: 0
      message: "Failure while parsing sql. < SqlParseException:[ Lexical error at line 1, column 61. Encountered: \"!\" (33), after : \"\" ] < TokenMgrError:[ Lexical error at line 1, column 61. Encountered: \"!\" (33), after : \"\" ]"
      ]
      Error: exception while executing query (state=,code=0)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: