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 BA78718F58 for ; Wed, 13 Jan 2016 18:53:40 +0000 (UTC) Received: (qmail 47956 invoked by uid 500); 13 Jan 2016 18:53:40 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 47755 invoked by uid 500); 13 Jan 2016 18:53:40 -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 47500 invoked by uid 99); 13 Jan 2016 18:53:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2016 18:53:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C9F2A2C14F0 for ; Wed, 13 Jan 2016 18:53:39 +0000 (UTC) Date: Wed, 13 Jan 2016 18:53:39 +0000 (UTC) From: "Deneche A. Hakim (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-4270) Create a separate WindowFramer that supports the FRAME clause MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Deneche A. Hakim created DRILL-4270: --------------------------------------- Summary: Create a separate WindowFramer that supports the FRAME clause Key: DRILL-4270 URL: https://issues.apache.org/jira/browse/DRILL-4270 Project: Apache Drill Issue Type: Sub-task Components: Execution - Relational Operators Affects Versions: 1.5.0 Reporter: Deneche A. Hakim Assignee: Deneche A. Hakim Currently most the window functions logic is handled by DefaultFrameTemplate. Create a separate CustomFrameTemplate that handles the FRAME clause, this should make the code in both classes more focused and will make it easier for us to add support for the FRAME clause. Aggregations, FIRST_VALUE and LAST_VALUE will be handled by CustomFrameTemplate, and all remaining window functions (Ranking, ROW_NUMBER, LEAD and LAG) will be handled by DefaultFrameTemplate. -- This message was sent by Atlassian JIRA (v6.3.4#6332)