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

PTF: Operator initialization does not clean state

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1, 2.2.0
    • Fix Version/s: 1.3.0, 2.0.2, 2.1.1, 2.2.0
    • Component/s: PTF-Windowing
    • Labels:
      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

          Activity

            People

            • Assignee:
              wzheng Wei Zheng
              Reporter:
              gopalv Gopal Vijayaraghavan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: