[fix](Nereids): UT shouldn't contains slotId (#19082)

This commit is contained in:
jakevin
2023-04-26 13:23:21 +08:00
committed by GitHub
parent 94b11af17c
commit a7773d16d6

View File

@ -99,8 +99,8 @@ public class MergeProjectsTest implements MemoPatternMatchSupported {
.matches(
logicalProject(
logicalOlapScan()
).when(project -> Objects.equals(project.getProjects().toString(),
"[((sid#0 + 1) + 1) AS `b`#4]"))
).when(project -> Objects.equals(project.getProjects().get(0).toSql(),
"((sid + 1) + 1) AS `b`"))
);
}
}