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 E74A7177CD for ; Tue, 15 Sep 2015 19:21:45 +0000 (UTC) Received: (qmail 67100 invoked by uid 500); 15 Sep 2015 19:21:45 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 67069 invoked by uid 500); 15 Sep 2015 19:21: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 67059 invoked by uid 99); 15 Sep 2015 19:21:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2015 19:21:45 +0000 Date: Tue, 15 Sep 2015 19:21:45 +0000 (UTC) From: "Khurram Faraaz (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (DRILL-3553) add support for LEAD and LAG window functions 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-3553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Khurram Faraaz closed DRILL-3553. --------------------------------- Verified on master b525692e > add support for LEAD and LAG window functions > --------------------------------------------- > > Key: DRILL-3553 > URL: https://issues.apache.org/jira/browse/DRILL-3553 > Project: Apache Drill > Issue Type: Sub-task > Components: Execution - Relational Operators > Reporter: Deneche A. Hakim > Assignee: Deneche A. Hakim > Labels: window_function > Fix For: 1.2.0 > > > From SQL standard here is the general format of LEAD and LAG: > {noformat} > ::= > OVER > {noformat} > {noformat} > ::= > ( > [ , [ , ] ] ) > [ ] > {noformat} > {noformat} > ::= > LEAD | LAG > {noformat} > {noformat} > ::= > > {noformat} > {noformat} > ::= > > {noformat} > {noformat} > ::= > > {noformat} > The following won't be supported until CALCITE-337 is resolved: > {noformat} > ::= > RESPECT NULLS | IGNORE NULLS > {noformat} > As part of this JIRA task only the following syntax will be supported: > {noformat} > ::= > ( ) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)