drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Altekruse (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1850) Drill fails to aggregate on a bit field
Date Thu, 22 Jan 2015 23:54:34 GMT

    [ https://issues.apache.org/jira/browse/DRILL-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288475#comment-14288475

Jason Altekruse commented on DRILL-1850:

This is likely fixed by DRILL-1898

> 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: Improvement
>          Components: Functions - Drill
>            Reporter: Jason Altekruse
>            Assignee: Mehant Baid
>            Priority: Minor
>             Fix For: 0.8.0
> 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.
> org.apache.drill.exec.rpc.RpcException: Query failed: Failure while running fragment.,
Failure finding function that runtime code generation expected.  Signature: compare_to( BIT:REQUIREDBIT:REQUIRED,
 ) returns INT:REQUIRED [ db1b45ec-21aa-4a7c-acef-541f8ac8fb86 on ]
> [ db1b45ec-21aa-4a7c-acef-541f8ac8fb86 on ]

This message was sent by Atlassian JIRA

View raw message