diff --git a/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/exploration/mv/HyperGraphAggTest.java b/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/exploration/mv/HyperGraphAggTest.java index 29d3e0edc3..6032d00040 100644 --- a/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/exploration/mv/HyperGraphAggTest.java +++ b/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/exploration/mv/HyperGraphAggTest.java @@ -87,9 +87,9 @@ class HyperGraphAggTest extends SqlTestBase { } LogicalCompatibilityContext constructContext(Plan p1, Plan p2) { - StructInfo st1 = AbstractMaterializedViewRule.extractStructInfo(p1, + StructInfo st1 = MaterializedViewUtils.extractStructInfo(p1, null).get(0); - StructInfo st2 = AbstractMaterializedViewRule.extractStructInfo(p2, + StructInfo st2 = MaterializedViewUtils.extractStructInfo(p2, null).get(0); RelationMapping rm = RelationMapping.generate(st1.getRelations(), st2.getRelations()).get(0); SlotMapping sm = SlotMapping.generate(rm);