[fix](Nereids): fix wrong api calling (#29977)

This commit is contained in:
谢健
2024-01-15 15:26:16 +08:00
committed by yiguolei
parent b99b9efda8
commit 94bfa6e46d

View File

@ -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);