You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Volodymyr Vysotskyi (JIRA)" <ji...@apache.org> on 2018/04/16 08:06:00 UTC

[jira] [Resolved] (DRILL-6277) Query fails with DATA_READ ERROR when correlated subquery has "always false" filter

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

Volodymyr Vysotskyi resolved DRILL-6277.
----------------------------------------
    Resolution: Fixed

Fixed in the scope of DRILL-6294

> Query fails with DATA_READ ERROR when correlated subquery has "always false" filter
> -----------------------------------------------------------------------------------
>
>                 Key: DRILL-6277
>                 URL: https://issues.apache.org/jira/browse/DRILL-6277
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.13.0
>            Reporter: Volodymyr Vysotskyi
>            Assignee: Volodymyr Vysotskyi
>            Priority: Major
>             Fix For: 1.14.0
>
>
> Query with correlated subquery which contains "always false" filter fails:
> {noformat}
> select * from cp.`employee.json` t where exists(select employee_id from cp.`employee.json` where t.employee_id = 3 and 1 = 5);
> Error: DATA_READ ERROR: The top level of your document must either be a single array of maps or a set of white space delimited maps.
> Line  -1
> Column  0
> Field  <none>
> Fragment 0:0
> [Error Id: 66b38c7e-7d12-4f38-93e4-f97f08f55e93 on user515050-pc:31013] (state=,code=0)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)