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 E90F318F0F for ; Tue, 1 Sep 2015 23:01:45 +0000 (UTC) Received: (qmail 17369 invoked by uid 500); 1 Sep 2015 23:01:45 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 17338 invoked by uid 500); 1 Sep 2015 23:01:45 -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 17328 invoked by uid 99); 1 Sep 2015 23:01:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2015 23:01:45 +0000 Date: Tue, 1 Sep 2015 23:01:45 +0000 (UTC) From: "Deneche A. Hakim (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-3733) erro message fix - NTILE function MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-3733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deneche A. Hakim updated DRILL-3733: ------------------------------------ Fix Version/s: 1.2.0 > erro message fix - NTILE function > --------------------------------- > > Key: DRILL-3733 > URL: https://issues.apache.org/jira/browse/DRILL-3733 > Project: Apache Drill > Issue Type: Bug > Components: Execution - Flow > Affects Versions: 1.2.0 > Reporter: Khurram Faraaz > Assignee: Deneche A. Hakim > Priority: Minor > Labels: window_function > Fix For: 1.2.0 > > > Can we have the message read this way > "NTILE only accepts positive (non-zero) integer argument" > {code} > 0: jdbc:drill:schema=dfs.tmp> select col7 , col9 , ntile(0) over(order by col0) lastVal_col9 from FEWRWSPQQ_101; > Error: FUNCTION ERROR: NTILE only accepts positive integer argument > Fragment 0:0 > [Error Id: 650d44a8-73d0-4675-8c18-67609f43a962 on centos-04.qa.lab:31010] (state=,code=0) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)