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 3978710ABD for ; Wed, 17 Dec 2014 03:16:14 +0000 (UTC) Received: (qmail 9847 invoked by uid 500); 17 Dec 2014 03:16:13 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 9815 invoked by uid 500); 17 Dec 2014 03:16:13 -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 9797 invoked by uid 99); 17 Dec 2014 03:16:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2014 03:16:13 +0000 Date: Wed, 17 Dec 2014 03:16:13 +0000 (UTC) From: "Deneche A. Hakim (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-1844) window function 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-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deneche A. Hakim updated DRILL-1844: ------------------------------------ Attachment: DRILL-1844.2.patch *WindowFunctionTest* tests were marked as _@Ignore_ because if the exception. I updated the tests and they all pass now > window function throws an exception > ----------------------------------- > > Key: DRILL-1844 > URL: https://issues.apache.org/jira/browse/DRILL-1844 > Project: Apache Drill > Issue Type: Bug > Affects Versions: 0.7.0, 0.8.0 > Reporter: Deneche A. Hakim > Assignee: Deneche A. Hakim > Fix For: 0.7.0 > > Attachments: DRILL-1844.1.patch, DRILL-1844.2.patch, window_error.txt > > > Starting from Drill 0.7.0 (specifically after DRILL-1781 was committed), The following query: > {code} > SELECT employee_id,position_id, salary, avg(salary) OVER (PARTITION BY position_id order by position_id) FROM cp.`employee.json` order by employee_id; > {code} > Throws an _IllegalStateException_: > {code} > Attempted to close accountor with 6 buffer(s) still allocatedfor QueryId: 2b7606b9-eddf-05db-2b8d-d72c5aa54e95, MajorFragmentId: 0, MinorFragmentId: 0. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)