Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EDAE3200BEB for ; Wed, 28 Dec 2016 15:07:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EC68C160B34; Wed, 28 Dec 2016 14:07:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 705AE160B19 for ; Wed, 28 Dec 2016 15:07:00 +0100 (CET) Received: (qmail 79199 invoked by uid 500); 28 Dec 2016 14:06:58 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 78988 invoked by uid 99); 28 Dec 2016 14:06:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2016 14:06:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A600F2C1F56 for ; Wed, 28 Dec 2016 14:06:58 +0000 (UTC) Date: Wed, 28 Dec 2016 14:06:58 +0000 (UTC) From: "Aihua Xu (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-15518) Refactoring rows and range related classes to put the window type on Window MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 28 Dec 2016 14:07:01 -0000 [ https://issues.apache.org/jira/browse/HIVE-15518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aihua Xu updated HIVE-15518: ---------------------------- Attachment: (was: HIVE-15518.1.patch) > Refactoring rows and range related classes to put the window type on Window > --------------------------------------------------------------------------- > > Key: HIVE-15518 > URL: https://issues.apache.org/jira/browse/HIVE-15518 > Project: Hive > Issue Type: Sub-task > Components: PTF-Windowing > Reporter: Aihua Xu > Assignee: Aihua Xu > Priority: Minor > > {noformat} > /* > * - A Window Frame that has only the /start/boundary, then it is interpreted as: > BETWEEN AND CURRENT ROW > * - A Window Specification with an Order Specification and no Window > * Frame is interpreted as: > ROW BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW > * - A Window Specification with no Order and no Window Frame is interpreted as: > ROW BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING > */ > {noformat} > The comments in WindowSpec above doesn't really match what it's claimed to do. Correct the comment to reduce the confusion. > Also currently the window type is specified on each BoundarySpec but makes sense to put the type (rows or range) for each window. -- This message was sent by Atlassian JIRA (v6.3.4#6332)