[fix](Nereids) remove getTableInMinidumpCache temporary (#35571)
bug introduced by #18747 getTableInMinidumpCache use wrong way to compare table's qualified name. we remove it temporary since it not use in productive env anymore
This commit is contained in:
@ -148,13 +148,8 @@ public class BindRelation extends OneAnalysisRuleFactory {
|
||||
List<String> tableQualifier = RelationUtil.getQualifierName(cascadesContext.getConnectContext(),
|
||||
unboundRelation.getNameParts());
|
||||
TableIf table = null;
|
||||
if (!CollectionUtils.isEmpty(cascadesContext.getTables())) {
|
||||
table = cascadesContext.getTableInMinidumpCache(tableName);
|
||||
}
|
||||
if (table == null) {
|
||||
if (customTableResolver.isPresent()) {
|
||||
table = customTableResolver.get().apply(tableQualifier);
|
||||
}
|
||||
if (customTableResolver.isPresent()) {
|
||||
table = customTableResolver.get().apply(tableQualifier);
|
||||
}
|
||||
// In some cases even if we have already called the "cascadesContext.getTableByName",
|
||||
// it also gets the null. So, we just check it in the catalog again for safety.
|
||||
|
||||
Reference in New Issue
Block a user