You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Aman Sinha (JIRA)" <ji...@apache.org> on 2015/01/07 22:41:34 UTC

[jira] [Resolved] (DRILL-1423) "exists" function does not work with text files

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

Aman Sinha resolved DRILL-1423.
-------------------------------
    Resolution: Duplicate

This is actually a duplicate of DRILL-1397 which has an IN correlated subquery but the underlying issue is the same and has to do with the decorrelation logic not handling the ITEM operator correctly.  

> "exists" function does not work with text files
> -----------------------------------------------
>
>                 Key: DRILL-1423
>                 URL: https://issues.apache.org/jira/browse/DRILL-1423
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Codegen
>            Reporter: Rahul Challapalli
>            Assignee: Aman Sinha
>             Fix For: 0.8.0
>
>         Attachments: error.log, lineitem.tbl, orders.tbl
>
>
> git.commit.id.abbrev=1ce7c93
> The below query does not work on text files. However it works properly on parquet files along with views on top of text files
> {code}
> select
>   o.columns[5]
> from
>   `orders.tbl` o
> where
>   exists (
>     select
>       *
>     from
>       `lineitem.tbl` l
>     where
>        l.columns[0] = o.columns[0]
>   )
> {code}
> I attached the error log and the data files used. Let me know if you have any questions.



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