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

multiple distinct with group by asserts

    XMLWordPrintableJSON

Details

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

    Description

      #Wed Jun 11 10:19:21 PDT 2014
      git.commit.id.abbrev=27a9c98

      With multiple distinct in query and with group by clause, drill bit asserted with the following query:

      0: jdbc:drill:schema=dfs> select max(distinct(c_int)), max(distinct(c_bigint)), max(distinct(c_float4)), max(distinct(c_float8)), max(distinct(cast(c_float4 as decimal(9,3)))), max(distinct(cast(c_decimal9 as decimal(28,9)))), max(distinct(cast(c_decimal18 as decimal(38,18)))) from data where c_row <> 5 and c_row <> 14 and c_row <> 19 group by c_int;
      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "7f426693-9249-43bc-ba46-0ea42accd1c9"
      endpoint {
      address: "qa-node118.qa.lab"
      user_port: 31010
      control_port: 31011
      data_port: 31012
      }
      error_type: 0
      message: "Failure while running fragment. < AssertionError"
      ]
      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:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: