Aman Sinha created DRILL-1134:
---------------------------------

             Summary: 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: Jinfeng Ni


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)

Reply via email to