You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jinfeng Ni (JIRA)" <ji...@apache.org> on 2014/07/21 07:15:39 UTC

[jira] [Assigned] (DRILL-1134) CompilationException for 2 or more Filters on an array type

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

Jinfeng Ni reassigned DRILL-1134:
---------------------------------

    Assignee: DrillCommitter  (was: Jinfeng Ni)

> CompilationException for 2 or more Filters on an array type 
> ------------------------------------------------------------
>
>                 Key: DRILL-1134
>                 URL: https://issues.apache.org/jira/browse/DRILL-1134
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Codegen
>            Reporter: Aman Sinha
>            Assignee: DrillCommitter
>
> The following query's generated code for the Filter consists of the doEval() block which has redefinition of variable isNull which causes a compilation failure.  Note that isNull is not even referenced in the generated code. 
> SELECT columns[0] 
>   FROM dfs.`/Users/asinha/data/regions.csv` 
> WHERE cast(columns[0] as int) > 1 
>   ANDcast(columns[1] as varchar(20))='ASIA';
> }
>  ] < CompileException:[ Line 82, Column 28: Redefinition of local variable "isNull"  ]"
> I also get a Deadbuf access for this query, but that could be a separate issue. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)