[ 
https://issues.apache.org/jira/browse/FLINK-2871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15097077#comment-15097077
 ] 

ASF GitHub Bot commented on FLINK-2871:
---------------------------------------

Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1469#discussion_r49656918
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/operators/hash/MutableHashTable.java
 ---
    @@ -1558,7 +1641,209 @@ public void reset() {
                }
     
        } // end HashBucketIterator
    +   
    +   /**
    +    * Iterate all the elements in memory which has not been probed during 
probe phase.
    +    */
    +   public static class UnmatchedBuildIterator<BT, PT> implements 
MutableObjectIterator<BT> {
    +   
    +           private final TypeSerializer<BT> accessor;
    +   
    +           private final long totalBucketNumber;
    +           
    +           private final int bucketsPerSegmentBits;
    +           
    +           private final int bucketsPerSegmentMask;
    +           
    +           private final MemorySegment[] buckets;
    +           
    +           private final ArrayList<HashPartition<BT, PT>> 
partitionsBeingBuilt;
    +           
    +           private final BitSet probedSet;
    +           
    +           private MemorySegment bucket;
    --- End diff --
    
    rename to `bucketSegment`?


> Add OuterJoin strategy with HashTable on outer side
> ---------------------------------------------------
>
>                 Key: FLINK-2871
>                 URL: https://issues.apache.org/jira/browse/FLINK-2871
>             Project: Flink
>          Issue Type: New Feature
>          Components: Local Runtime, Optimizer
>    Affects Versions: 0.10.0
>            Reporter: Fabian Hueske
>            Assignee: Chengxiang Li
>            Priority: Minor
>
> Outer joins are currently supported with two local execution strategies:
> - sort-merge join
> - hash join where the hash table is built on the inner side. Hence, this 
> strategy is only supported for left and right outer joins.
> In order to support hash-tables on the outer side, we need a special hash 
> table implementation that gives access to all records which have not been 
> accessed during the probe phase.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to