Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4239DEC1A for ; Wed, 27 Feb 2013 22:49:15 +0000 (UTC) Received: (qmail 49056 invoked by uid 500); 27 Feb 2013 22:49:14 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 48980 invoked by uid 500); 27 Feb 2013 22:49:14 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 48697 invoked by uid 500); 27 Feb 2013 22:49:14 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 48657 invoked by uid 99); 27 Feb 2013 22:49:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 22:49:14 +0000 Date: Wed, 27 Feb 2013 22:49:14 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4034) Should be able to specify windowing spec without needing Between 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/HIVE-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13588873#comment-13588873 ] Ashutosh Chauhan commented on HIVE-4034: ---------------------------------------- https://reviews.facebook.net/D8973 > Should be able to specify windowing spec without needing Between > ---------------------------------------------------------------- > > Key: HIVE-4034 > URL: https://issues.apache.org/jira/browse/HIVE-4034 > Project: Hive > Issue Type: Bug > Components: PTF-Windowing > Reporter: Ashutosh Chauhan > Assignee: Ashutosh Chauhan > Attachments: HIVE-4034.patch > > > Currently user need to do following: > {noformat} > select s, sum(b) over (distribute by i sort by si rows between unbounded preceding and current row) from over100k; > {noformat} > but sql spec allows following as well: > {noformat} > select s, sum(b) over (distribute by i sort by si rows unbounded preceding) from over100k; > {noformat} > In such cases {{current row}} should be assumed implicitly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira