Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 91BC117FCE for ; Tue, 14 Apr 2015 19:08:27 +0000 (UTC) Received: (qmail 44039 invoked by uid 500); 14 Apr 2015 19:08:27 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 44008 invoked by uid 500); 14 Apr 2015 19:08:27 -0000 Mailing-List: contact issues-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 issues@drill.apache.org Received: (qmail 43999 invoked by uid 99); 14 Apr 2015 19:08:27 -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:08:27 +0000 Date: Tue, 14 Apr 2015 19:08:27 +0000 (UTC) From: "Victoria Markman (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-2787) NPE when first argument to maxdir UDF 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-2787: --------------------------------------- Summary: 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 "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)