| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql.optimizer.calcite |
| Modifier and Type | Method and Description |
|---|---|
static HiveRelOptUtil.PKFKJoinInfo |
HiveRelOptUtil.extractPKFKJoin(org.apache.calcite.rel.core.Join join,
List<org.apache.calcite.rex.RexNode> joinFilters,
boolean leftInputPotentialFK,
org.apache.calcite.rel.metadata.RelMetadataQuery mq)
Returns a triple where first value represents whether we could extract a FK-PK join
or not, the second value is a pair with the column from left and right input that
are used for the FK-PK join, and the third value are the predicates that are not
part of the FK-PK condition.
|
static HiveRelOptUtil.PKFKJoinInfo |
HiveRelOptUtil.PKFKJoinInfo.of(boolean isPkFkJoin,
org.apache.calcite.util.Pair<org.apache.calcite.util.ImmutableBitSet,org.apache.calcite.util.ImmutableBitSet> pkFkJoinColumns,
List<org.apache.calcite.rex.RexNode> additionalPredicates) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.