You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2015/04/24 23:57:38 UTC
[jira] [Updated] (DRILL-2787) NPE when first argument to maxdir UDF
is invalid
[ https://issues.apache.org/jira/browse/DRILL-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Parth Chandra updated DRILL-2787:
---------------------------------
Fix Version/s: 1.0.0
> NPE when first argument to maxdir UDF is invalid
> ------------------------------------------------
>
> Key: DRILL-2787
> URL: https://issues.apache.org/jira/browse/DRILL-2787
> Project: Apache Drill
> Issue Type: Bug
> Components: Functions - Drill
> Affects Versions: 0.9.0
> Reporter: Victoria Markman
> Assignee: Jason Altekruse
> Fix For: 1.0.0
>
>
> "dfs." is not a valid workspace
> {code}
> 0: jdbc:drill:schema=dfs> select * from bigtable where dir0 = maxdir('dfs.','bigtable');
> Query failed: NullPointerException:
> Error: exception while executing query: Failure while executing query. (state=,code=0)
> {code}
> dfs.test1 does not exist
> {code}
> 0: jdbc:drill:schema=dfs> select * from bigtable where dir0 = maxdir('dfs.test1','bigtable');
> Query failed: NullPointerException:
> Error: exception while executing query: Failure while executing query. (state=,code=0)
> {code}
> Empty string as a first argument:
> {code}
> 0: jdbc:drill:schema=dfs> select * from bigtable where dir0 = maxdir('','bigtable');
> Query failed: NullPointerException:
> Error: exception while executing query: Failure while executing query. (state=,code=0)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)