Julian Hyde created DRILL-1898:
----------------------------------

             Summary: SELECT DISTINCT fails when applied to boolean column
                 Key: DRILL-1898
                 URL: https://issues.apache.org/jira/browse/DRILL-1898
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 0.7.0
            Reporter: Julian Hyde


SELECT DISTINCT fails when applied to boolean column.

{code}
0: jdbc:drill:zk=local> select distinct `bool_val` from `sys`.`options`;
Query failed: Query failed: Failure while running fragment., Failure finding 
function that runtime code generation expected.  Signature: compare_to( 
BIT:OPTIONALBIT:OPTIONAL,  ) returns INT:REQUIRED [ 
af1536ff-eca4-4592-b0ac-2b625362bf2f on 10.11.4.182:31010 ]
[ af1536ff-eca4-4592-b0ac-2b625362bf2f on 10.11.4.182:31010 ]
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to