Skip to content

Commit

Permalink
[FLINK-20515][table-planner-blink] Remove MultipleInputRel
Browse files Browse the repository at this point in the history
This closes apache#14380
  • Loading branch information
godfreyhe committed Dec 15, 2020
1 parent 6c886a4 commit 5088b8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 78 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import org.apache.flink.table.planner.calcite.FlinkTypeFactory
import org.apache.flink.table.planner.plan.nodes.calcite.{Expand, Rank, WatermarkAssigner, WindowAggregate}
import org.apache.flink.table.planner.plan.nodes.common.CommonLookupJoin
import org.apache.flink.table.planner.plan.nodes.logical._
import org.apache.flink.table.planner.plan.nodes.physical.MultipleInputRel
import org.apache.flink.table.planner.plan.nodes.physical.batch._
import org.apache.flink.table.planner.plan.nodes.physical.stream._
import org.apache.flink.table.planner.plan.schema.{FlinkPreparingTableBase, TableSourceTable}
Expand All @@ -43,8 +42,8 @@ import org.apache.calcite.rel.core._
import org.apache.calcite.rel.metadata._
import org.apache.calcite.rel.{RelNode, SingleRel}
import org.apache.calcite.rex.{RexCall, RexInputRef, RexNode}
import org.apache.calcite.sql.SqlKind
import org.apache.calcite.sql.fun.SqlStdOperatorTable
import org.apache.calcite.sql.{SqlKind, SqlWindowTableFunction}
import org.apache.calcite.util.{Bug, BuiltInMethod, ImmutableBitSet, Util}

import java.util
Expand Down Expand Up @@ -592,12 +591,6 @@ class FlinkRelMdUniqueKeys private extends MetadataHandler[BuiltInMetadata.Uniqu
}
}

def getUniqueKeys(
multipleInput: MultipleInputRel,
mq: RelMetadataQuery,
ignoreNulls: Boolean): JSet[ImmutableBitSet] =
mq.getUniqueKeys(multipleInput.outputRel, ignoreNulls)

def getUniqueKeys(
subset: RelSubset,
mq: RelMetadataQuery,
Expand Down

This file was deleted.

0 comments on commit 5088b8a

Please sign in to comment.