Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ public List<Long> getIndexIds() {
return indexes.getIndexIds();
}

@Override
public TableIndexes getTableIndexes() {
return indexes;
}
Expand Down
5 changes: 0 additions & 5 deletions fe/fe-core/src/main/java/org/apache/doris/catalog/Table.java
Original file line number Diff line number Diff line change
Expand Up @@ -640,9 +640,4 @@ public long getCachedRowCount() {
public boolean autoAnalyzeEnabled() {
return true;
}

@Override
public TableIndexes getTableIndexes() {
return new TableIndexes();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,4 @@ default boolean isPartitionedTable() {
}

boolean autoAnalyzeEnabled();

TableIndexes getTableIndexes();
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.apache.doris.catalog.Env;
import org.apache.doris.catalog.TableAttributes;
import org.apache.doris.catalog.TableIf;
import org.apache.doris.catalog.TableIndexes;
import org.apache.doris.catalog.constraint.Constraint;
import org.apache.doris.common.AnalysisException;
import org.apache.doris.common.Pair;
Expand Down Expand Up @@ -358,9 +357,4 @@ protected Optional<SchemaCacheValue> getSchemaCacheValue() {
ExternalSchemaCache cache = Env.getCurrentEnv().getExtMetaCacheMgr().getSchemaCache(catalog);
return cache.getSchemaValue(dbName, name);
}

@Override
public TableIndexes getTableIndexes() {
return new TableIndexes();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ public class Rewriter extends AbstractBatchJobExecutor {
// eliminate useless not null or inferred not null
// TODO: wait InferPredicates to infer more not null.
bottomUp(new EliminateNotNull()),
topDown(new ConvertInnerOrCrossJoin())
topDown(new ConvertInnerOrCrossJoin()),
topDown(new ProjectOtherJoinConditionForNestedLoopJoin())
),
topic("Set operation optimization",
// Do MergeSetOperation first because we hope to match pattern of Distinct SetOperator.
Expand Down Expand Up @@ -325,12 +326,7 @@ public class Rewriter extends AbstractBatchJobExecutor {
// after eliminate outer join, we can move some filters to join.otherJoinConjuncts,
// this can help to translate plan to backend
topDown(new PushFilterInsideJoin()),
topDown(new FindHashConditionForJoin()),
// ProjectOtherJoinConditionForNestedLoopJoin will push down the expression
// in the non-equivalent join condition and turn it into slotReference,
// This results in the inability to obtain Cast child information in INFER_PREDICATES,
// which will affect predicate inference with cast. So put this rule behind the INFER_PREDICATES
topDown(new ProjectOtherJoinConditionForNestedLoopJoin())
topDown(new FindHashConditionForJoin())
),
// this rule should invoke after ColumnPruning
custom(RuleType.ELIMINATE_UNNECESSARY_PROJECT, EliminateUnnecessaryProject::new),
Expand Down

This file was deleted.

Loading