public static boolean isDppDimSide(org.apache.calcite.rel.RelNode rel)
Judge whether the input RelNode meets the conditions of dimSide. If joinKeys is null means we
need not consider the join keys in dim side, which already deal by dynamic partition pruning
rule. If joinKeys not null means we need to judge whether joinKeys changed in dim side, if
changed, this RelNode is not dim side.
Judge whether the input RelNode can be converted to the dpp fact side. If the input RelNode
can be converted, this method will return the converted fact side whose partitioned table
source will be converted to BatchPhysicalDynamicFilteringTableSourceScan, If not,
this method will return the origin RelNode.
public static boolean isSuitableJoin(org.apache.calcite.rel.core.Join join)
Judge whether the join node is suitable one for dpp pattern.