diff --git a/test/src/test/java/cn/edu/tsinghua/iginx/integration/func/sql/SQLSessionIT.java b/test/src/test/java/cn/edu/tsinghua/iginx/integration/func/sql/SQLSessionIT.java index 60e9721d4e..20aaab14e6 100644 --- a/test/src/test/java/cn/edu/tsinghua/iginx/integration/func/sql/SQLSessionIT.java +++ b/test/src/test/java/cn/edu/tsinghua/iginx/integration/func/sql/SQLSessionIT.java @@ -7071,7 +7071,7 @@ public void testMappingTransform() { + "Total line number = 3\n"; executor.executeAndCompare(query, expect); - if (!isScaling) { + if (!isScaling && isOptimizerOpen) { query = "explain SELECT first(s1), last(s2), first(s3), last(s4) from us.d1;"; expect = "ResultSets:\n"