Github user ramkrish86 commented on a diff in the pull request:
    --- Diff: 
    @@ -128,17 +130,22 @@ public void prepare() throws Exception{
                // create and return joining iterator according to provided 
local strategy.
    -           if (objectReuseEnabled) {
    -                   switch (ls) {
    -                           case INNER_MERGE:
    -                                   this.joinIterator = new 
ReusingMergeInnerJoinIterator<>(in1, in2, 
    +           if (reset) {
    +                   resetForIterativeTasks(in1, in2, serializer1, 
serializer2, comparator1, comparator2, pairComparatorFactory);
    +                   reset = false;
    +           }
    +           if (joinIterator == null) {
    --- End diff --
    Yes. I saw this pattern and how it was used. The existing ResettableDriver 
impls like
    JoinWithSolutionSetFirstDriver, AbstractCachedBuildSideJoinDriver was 
actually doing things in 
    `initialize()` was called only once for the first time and was leaving out 
`prepare()` as empty as it was called for every iteration. 
    Now we may have to change even them if we need to unify all. I can make 
those changes. Let me check. Thanks @ggevay .

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to