You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by fhueske <gi...@git.apache.org> on 2016/01/13 22:40:09 UTC

[GitHub] flink pull request: [FLINK-2871] support outer join for hash join ...

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

    https://github.com/apache/flink/pull/1469#discussion_r49654822
  
    --- Diff: flink-optimizer/src/main/java/org/apache/flink/optimizer/operators/HashFullOuterJoinBuildFirstDescriptor.java ---
    @@ -0,0 +1,66 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +package org.apache.flink.optimizer.operators;
    +
    +import org.apache.flink.api.common.operators.util.FieldList;
    +import org.apache.flink.optimizer.dag.TwoInputNode;
    +import org.apache.flink.optimizer.dataproperties.LocalProperties;
    +import org.apache.flink.optimizer.dataproperties.RequestedLocalProperties;
    +import org.apache.flink.optimizer.plan.Channel;
    +import org.apache.flink.optimizer.plan.DualInputPlanNode;
    +import org.apache.flink.runtime.operators.DriverStrategy;
    +
    +import java.util.Collections;
    +import java.util.List;
    +
    +public class HashFullOuterJoinBuildFirstDescriptor extends AbstractJoinDescriptor {
    +
    +	public HashFullOuterJoinBuildFirstDescriptor(FieldList keys1, FieldList keys2,
    +		boolean broadcastFirstAllowed, boolean broadcastSecondAllowed, boolean repartitionAllowed) {
    --- End diff --
    
    Broadcast-Forward shipping strategies are not valid for full outer joins.
    Hence, the broadcast parameters can be removed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---