Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14222

PTF: Operator initialization does not clean state

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.1, 2.2.0
    • 1.3.0, 2.0.2, 2.1.1, 2.2.0
    • PTF-Windowing
    • None

    Description

      PTFOperator::initializeOp() does not reset currentKeys to null.

            if (currentKeys != null && !keysAreEqual) {
              ptfInvocation.finishPartition();
            }
      ....
            if (currentKeys == null) {
                currentKeys = newKeys.copyKey();
              } else {
                currentKeys.copyKey(newKeys);
              }
      

      Attachments

        1. HIVE-14222.1.patch
          0.5 kB
          Wei Zheng

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            wzheng Wei Zheng Assign to me
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment