From 94bfa6e46def488f5afae0ea3d6acfac711c4481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E5=81=A5?= Date: Mon, 15 Jan 2024 15:26:16 +0800 Subject: [PATCH] [fix](Nereids): fix wrong api calling (#29977) --- .../doris/nereids/rules/exploration/mv/HyperGraphAggTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);