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 E1BEF17E43 for ; Wed, 21 Jan 2015 05:39:34 +0000 (UTC) Received: (qmail 51398 invoked by uid 500); 21 Jan 2015 05:39:34 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 51364 invoked by uid 500); 21 Jan 2015 05:39:34 -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 51354 invoked by uid 99); 21 Jan 2015 05:39:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2015 05:39:34 +0000 Date: Wed, 21 Jan 2015 05:39:34 +0000 (UTC) From: "Deneche A. Hakim (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-1908) new window function implementation 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-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14285200#comment-14285200 ] Deneche A. Hakim commented on DRILL-1908: ----------------------------------------- This patch only supports phase 1 (DRILL-1452) for now. The design was done with phase 2 in mind (DRILL-1453), so it wouldn't take long to get that feature supported as well. The main limitation is in the way window frames are aggregated, for each row the record batch recomputes the row's frame and aggregates all rows that are part of this frame. This is not the most efficient way to do this, and will probably require further optimisation later on. > new window function implementation > ---------------------------------- > > Key: DRILL-1908 > URL: https://issues.apache.org/jira/browse/DRILL-1908 > Project: Apache Drill > Issue Type: Improvement > Components: Execution - Operators > Affects Versions: 0.7.0 > Reporter: Deneche A. Hakim > Assignee: Deneche A. Hakim > Priority: Critical > Fix For: Future > > Attachments: DRILL-1908.1.patch.txt, DRILL-1908.2.patch.txt > > > In order to fix DRILL-1487 a complete rewrite of the StreamingWindowFrameRecordBatch may be needed. The purpose of this issue is to report my progress and share my thoughts with the community in order to get a proper implementation -- This message was sent by Atlassian JIRA (v6.3.4#6332)