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

Jason Altekruse updated DRILL-1850:
-----------------------------------
    Description: 
select true as t from cp.`/store/json/bit_data.json` order by t

obviously as the table is not being referenced, so you can just swap out the 
table with a file that is present on your machine to reproduce the error.

It looks like we do not have a definition for comparison between bits, this 
might be intentional as the bit can be implicitly cast to another numeric type 
before doing the comparison. We either need to fix implicit cast or define a 
function for comparing bits.

> Drill fails to aggregate on a bit field
> ---------------------------------------
>
>                 Key: DRILL-1850
>                 URL: https://issues.apache.org/jira/browse/DRILL-1850
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Jason Altekruse
>
> select true as t from cp.`/store/json/bit_data.json` order by t
> obviously as the table is not being referenced, so you can just swap out the 
> table with a file that is present on your machine to reproduce the error.
> It looks like we do not have a definition for comparison between bits, this 
> might be intentional as the bit can be implicitly cast to another numeric 
> type before doing the comparison. We either need to fix implicit cast or 
> define a function for comparing bits.



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

Reply via email to