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-4441) IN operator does not work with Avro reader
Date Fri, 26 Feb 2016 17:59:18 GMT

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

Jason Altekruse commented on DRILL-4441:
----------------------------------------

[~acmeguy] A workaround you can use today is to cast the value coming out of avro to varchar
and provide a maximum length value (it is incorrectly not being set when we create the table
metadata based on the file, so it defaults to 1). We need to also file a follow-up bug as
to why we are inconsistently apply a truncation based on this metadata, which is why you see
different results.

I will be posting a patch shortly that fixes the bug without a cast.

cast(s.sold_to varchar(65000))

> IN operator does not work with Avro reader
> ------------------------------------------
>
>                 Key: DRILL-4441
>                 URL: https://issues.apache.org/jira/browse/DRILL-4441
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Other
>    Affects Versions: 1.5.0
>         Environment: Ubuntu
>            Reporter: Stefán Baxter
>             Fix For: 1.6.0
>
>
> IN operator simply does not work. 
> (And I find it interesting that Storage-Avro is not available here in Jira as a Storage
component)



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

Mime
View raw message