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

simple count on varchar fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.7.0
    • SQL Parser
    • None

    Description

      The c_varchar column in table data contains string.

      0: jdbc:drill:schema=dfs> select count(c_varchar) from data;
      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "8af0fb93-c65b-4e06-9e7a-84b16f42a99a"
      endpoint {
      address: "qa-node119.qa.lab"
      user_port: 31010
      control_port: 31011
      data_port: 31012
      }
      error_type: 0
      message: "Failure while running fragment. < RuntimeException:[ cast function for type BIT is not defined ]"
      ]
      Error: exception while executing query (state=,code=0)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: