You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2016/07/13 00:24:20 UTC

[jira] [Created] (HIVE-14222) PTF: Operator initialization does not clean state

Gopal V created HIVE-14222:
------------------------------

             Summary: 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


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)