drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victoria Markman (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-2786) NPE when first argument to maxdir is invalid
Date Thu, 16 Apr 2015 18:16:58 GMT

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

Victoria Markman resolved DRILL-2786.
-------------------------------------
    Resolution: Duplicate

Jira glitch.

> NPE when first argument to maxdir is invalid
> --------------------------------------------
>
>                 Key: DRILL-2786
>                 URL: https://issues.apache.org/jira/browse/DRILL-2786
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: 0.9.0
>            Reporter: Victoria Markman
>            Assignee: Jason Altekruse
>
> "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)

Mime
View raw message