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 DA44AE32C for ; Thu, 31 Jan 2013 19:11:13 +0000 (UTC) Received: (qmail 37307 invoked by uid 500); 31 Jan 2013 19:11:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 37150 invoked by uid 500); 31 Jan 2013 19:11:13 -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 37142 invoked by uid 99); 31 Jan 2013 19:11:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2013 19:11:13 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of prvs=5743874461=venky@fb.com designates 67.231.153.30 as permitted sender) Received: from [67.231.153.30] (HELO mx0b-00082601.pphosted.com) (67.231.153.30) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2013 19:11:08 +0000 Received: from pps.filterd (m0004060 [127.0.0.1]) by mx0b-00082601.pphosted.com (8.14.5/8.14.5) with SMTP id r0VJ7Oed025316 for ; Thu, 31 Jan 2013 11:10:47 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fb.com; h=from : to : subject : date : message-id : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=w3s5PhM+AKCneT+5qp6XokBByt3PuvYxIIbxwESRxvI=; b=bbYozW6mJ7mzeJqLvGr2kJfK9hwTL+IsDomwZlBfdp8EQI+i0QktZneHHywsRRDTtHB7 rH0iO/o46i2t+/rLDVEJOnmB0XCOV1G4P5Dc0VyVgqwYMo9QzRDqE5jxy4wGO+B42y9W 5htSAsuntdjnUkfdEXIsdrie3+0MNe/RbAw= Received: from mail.thefacebook.com (prn1-cmdf-dc01-fw1-nat.corp.tfbnw.net [173.252.71.129] (may be forged)) by mx0b-00082601.pphosted.com with ESMTP id 1a6fcspqda-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK) for ; Thu, 31 Jan 2013 11:10:47 -0800 Received: from PRN-MBX01-5.TheFacebook.com ([169.254.4.166]) by PRN-CHUB03.TheFacebook.com ([fe80::fd64:bd05:4514:bbad%12]) with mapi id 14.02.0328.009; Thu, 31 Jan 2013 11:10:45 -0800 From: Venky Iyer To: "dev@hive.apache.org" Subject: Re: [jira] [Commented] (HIVE-896) Add LEAD/LAG/FIRST/LAST analytical windowing functions to Hive. Thread-Topic: [jira] [Commented] (HIVE-896) Add LEAD/LAG/FIRST/LAST analytical windowing functions to Hive. Thread-Index: AQHN/+VZnx/gBX1sC0q57GlB3lohCJhjzZAA Date: Thu, 31 Jan 2013 19:10:44 +0000 Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.12.0.110505 x-originating-ip: [192.168.16.4] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Spam-Reason: safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327,1.0.431,0.0.0000 definitions=2013-01-31_05:2013-01-31,2013-01-31,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org unsubscribe On 1/31/13 11:01 AM, "Ashutosh Chauhan (JIRA)" wrote: [=20 https://issues.apache.org/jira/browse/HIVE-896?page=3Dcom.atlassian.jira.pl= ug in.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13567950#comme= nt -13567950 ]=20 Ashutosh Chauhan commented on HIVE-896: --------------------------------------- Thanks Prajakta for explanation. Make sense, But to your last point which Harish also noted in previous comment: bq. So currently, we are filtering the VCs and setting up a new RowResolver for ExtractOperator during translation so that the columns at runtime match with those during translation. I think we cannot always filter out VC's for RR of ExtractOp. That will depend on whether user has selected VCs or not in the query. No? =20 > Add LEAD/LAG/FIRST/LAST analytical windowing functions to Hive. > --------------------------------------------------------------- > > Key: HIVE-896 > URL: https://issues.apache.org/jira/browse/HIVE-896 > Project: Hive > Issue Type: New Feature > Components: OLAP, UDF > Reporter: Amr Awadallah > Priority: Minor > Attachments: DataStructs.pdf, HIVE-896.1.patch.txt, >Hive-896.2.patch.txt > > > Windowing functions are very useful for click stream processing and >similar time-series/sliding-window analytics. > More details at: >=20 >http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10736/analys >is.htm#i1006709 >=20 >http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10736/analys >is.htm#i1007059 >=20 >http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10736/analys >is.htm#i1007032 > -- amr -- 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