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 B0A6417AFD for ; Thu, 30 Apr 2015 15:28:06 +0000 (UTC) Received: (qmail 88510 invoked by uid 500); 30 Apr 2015 15:28:06 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 88432 invoked by uid 500); 30 Apr 2015 15:28:06 -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 88420 invoked by uid 99); 30 Apr 2015 15:28:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 15:28:06 +0000 Date: Thu, 30 Apr 2015 15:28:06 +0000 (UTC) From: "Aihua Xu (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-10555) Windowing function for count(*) with preceding rows doesn't work as expected MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Aihua Xu created HIVE-10555: ------------------------------- Summary: Windowing function for count(*) with preceding rows doesn't work as expected Key: HIVE-10555 URL: https://issues.apache.org/jira/browse/HIVE-10555 Project: Hive Issue Type: Bug Components: PTF-Windowing Affects Versions: 1.3.0 Reporter: Aihua Xu The following windowing function always returns 0 for count(*). {noformat} select key, count(*) over (partition by key order by value rows between 1 preceding and 2 preceding) from t1; {noformat} Seems windowing functions have some issues when dealing with preceding window. -- This message was sent by Atlassian JIRA (v6.3.4#6332)