[
https://issues.apache.org/jira/browse/DRILL-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14621477#comment-14621477
]
ASF GitHub Bot commented on DRILL-3484:
---------------------------------------
GitHub user jaltekruse opened a pull request:
https://github.com/apache/drill/pull/85
DRILL-3484: Error with no-argument functions when the cast empty strings to
null option is set
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jaltekruse/incubator-drill 3484
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/85.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #85
----
commit 8ecb0c30654697a78c16f02016eb7ae1467200ec
Author: Jason Altekruse <[email protected]>
Date: 2015-07-09T23:48:53Z
DRILL-3484: Error with no-argument functions when the cast empty strings to
null option is set
----
> 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.0.0, 1.1.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)