You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2014/12/25 18:49:13 UTC

[jira] [Updated] (DRILL-1898) SELECT DISTINCT fails when applied to boolean column

     [ https://issues.apache.org/jira/browse/DRILL-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mehant Baid updated DRILL-1898:
-------------------------------
    Attachment: DRILL-1898.patch

[~vkorukanti] please review

> 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
>            Assignee: Mehant Baid
>         Attachments: DRILL-1898.patch
>
>
> 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)