Return-Path: X-Original-To: apmail-drill-dev-archive@www.apache.org Delivered-To: apmail-drill-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 507A517FBB for ; Tue, 14 Apr 2015 19:07:20 +0000 (UTC) Received: (qmail 38375 invoked by uid 500); 14 Apr 2015 19:07:17 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 38321 invoked by uid 500); 14 Apr 2015 19:07:17 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 38310 invoked by uid 99); 14 Apr 2015 19:07:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Apr 2015 19:07:17 +0000 Date: Tue, 14 Apr 2015 19:07:16 +0000 (UTC) From: "Victoria Markman (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-2786) NPE when first argument to maxdir is invalid MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Victoria Markman created DRILL-2786: --------------------------------------- Summary: 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)