Jason Altekruse created DRILL-3484:
--------------------------------------

             Summary: Error using functions with no parameters when 
`drill.exec.functions.cast_empty_string_to_null` is set to true
                 Key: DRILL-3484
                 URL: https://issues.apache.org/jira/browse/DRILL-3484
             Project: Apache Drill
          Issue Type: Bug
          Components: Functions - Drill
    Affects Versions: 1.1.0, 1.0.0
            Reporter: Jason Altekruse
            Assignee: Jason Altekruse
             Fix For: 1.2.0


There is an issue with function materialization when the function has no 
parameters and this option is set. This cases a low level IOOB exception to be 
thrown.

0: jdbc:drill:zk=local> select *, random() from sys.drillbits;
Error: SYSTEM ERROR: IndexOutOfBoundsException: index (0) must be less than 
size (0)

Fragment 0:0

[Error Id: 5853c1da-ea8d-41c3-812c-2fdde799803b on 10.250.50.33:31010] 
(state=,code=0)



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

Reply via email to