Chun Chang created DRILL-966:
--------------------------------

             Summary: multiple distinct with group by asserts
                 Key: DRILL-966
                 URL: https://issues.apache.org/jira/browse/DRILL-966
             Project: Apache Drill
          Issue Type: Bug
          Components: Functions - Drill
            Reporter: Chun Chang


#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)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to