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 C53CA17AD7 for ; Wed, 10 Jun 2015 15:31:01 +0000 (UTC) Received: (qmail 37179 invoked by uid 500); 10 Jun 2015 15:31:01 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 37065 invoked by uid 500); 10 Jun 2015 15:31:01 -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 36736 invoked by uid 99); 10 Jun 2015 15:31:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2015 15:31:00 +0000 Date: Wed, 10 Jun 2015 15:31:00 +0000 (UTC) From: "Aman Sinha (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-1862) over clause with only order by clause throws an exception 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-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aman Sinha updated DRILL-1862: ------------------------------ Component/s: (was: SQL Parser) Query Planning & Optimization > over clause with only order by clause throws an exception > --------------------------------------------------------- > > Key: DRILL-1862 > URL: https://issues.apache.org/jira/browse/DRILL-1862 > Project: Apache Drill > Issue Type: Improvement > Components: Query Planning & Optimization > Reporter: Deneche A. Hakim > Assignee: Aman Sinha > Labels: window_function > Fix For: 1.1.0 > > Attachments: 0001-DRILL-1862-Create-window-function-required-distribut.patch, DRILL-1862 error.txt > > > When using over clause without a "partition by" clause but with an "order by" clause, an _ForemanException_ is thrown (complete error message attached). > For example the following query throws and exception: > {code} > SELECT employee_id, position_id, salary, SUM(salary) OVER(ORDER BY salary) FROM cp.`employee.json` LIMIT 20; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)