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 14CA3200B3C for ; Wed, 13 Jul 2016 22:12:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 13558160A7C; Wed, 13 Jul 2016 20:12:22 +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 7FBA6160A62 for ; Wed, 13 Jul 2016 22:12:21 +0200 (CEST) Received: (qmail 75248 invoked by uid 500); 13 Jul 2016 20:12:20 -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 75217 invoked by uid 99); 13 Jul 2016 20:12:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2016 20:12:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 887312C027F for ; Wed, 13 Jul 2016 20:12:20 +0000 (UTC) Date: Wed, 13 Jul 2016 20:12:20 +0000 (UTC) From: "Wei Zheng (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-14222) PTF: Operator initialization does not clean state MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 13 Jul 2016 20:12:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-14222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zheng updated HIVE-14222: ----------------------------- Status: Patch Available (was: Open) > PTF: Operator initialization does not clean state > ------------------------------------------------- > > Key: HIVE-14222 > URL: https://issues.apache.org/jira/browse/HIVE-14222 > Project: Hive > Issue Type: Bug > Components: PTF-Windowing > Affects Versions: 1.2.1, 2.2.0 > Reporter: Gopal V > Assignee: Wei Zheng > Attachments: HIVE-14222.1.patch > > > PTFOperator::initializeOp() does not reset currentKeys to null. > {code} > if (currentKeys != null && !keysAreEqual) { > ptfInvocation.finishPartition(); > } > .... > if (currentKeys == null) { > currentKeys = newKeys.copyKey(); > } else { > currentKeys.copyKey(newKeys); > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)