Skip to content

Commit

Permalink
remove repeated method
Browse files Browse the repository at this point in the history
  • Loading branch information
seawinde committed Dec 4, 2023
1 parent 610f0ab commit b92fcab
Showing 1 changed file with 0 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

import org.apache.doris.catalog.TableIf.TableType;
import org.apache.doris.nereids.CascadesContext;
import org.apache.doris.nereids.rules.exploration.mv.mapping.SlotMapping;
import org.apache.doris.nereids.rules.expression.ExpressionRewriteContext;
import org.apache.doris.nereids.rules.expression.rules.FoldConstantRule;
import org.apache.doris.nereids.trees.TreeNode;
Expand Down Expand Up @@ -231,37 +230,6 @@ public static List<? extends Expression> shuttleExpressionWithLineage(List<? ext
return replaceContext.getReplacedExpressions();
}

// Replace the slot in expressions according to the slotMapping
// if any slot cannot be mapped then return null
public static List<? extends Expression> permute(List<? extends Expression> expressions, SlotMapping slotMapping) {
return ImmutableList.of();
}

/**
* Replace the slot in expression with the lineage identifier from specified
* baseTable sets or target table types.
* <p>
* For example as following:
* select a + 10 as a1, d from (
* select b - 5 as a, d from table
* );
* after shuttle a1, d in select will be b - 5 + 10, d
*/
public static List<? extends Expression> shuttleExpressionWithLineage(List<? extends Expression> expression,
Plan plan,
Set<TableType> targetTypes,
Set<String> tableIdentifiers) {
return ImmutableList.of();
}

/**
* Replace the slot in expressions according to the slotMapping
* if any slot cannot be mapped then return null
*/
public static List<? extends Expression> permute(List<? extends Expression> expressions, SlotMapping slotMapping) {
return ImmutableList.of();
}

/**
* Choose the minimum slot from input parameter.
*/
Expand Down

0 comments on commit b92fcab

Please sign in to comment.