Skip to content

Commit da0db31

Browse files
committed
fix UT
Signed-off-by: xinyual <xinyual@amazon.com>
1 parent b578d4d commit da0db31

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

ppl/src/test/java/org/opensearch/sql/ppl/calcite/CalcitePPLAppendcolTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ public void testAppendcolStats() {
145145
verifyLogical(root, expectedLogical);
146146
String expectedResult =
147147
""
148-
+ "count()=5; DEPTNO=20; avg(SAL)=2175.00\n"
149-
+ "count()=3; DEPTNO=10; avg(SAL)=2916.66\n"
150-
+ "count()=6; DEPTNO=30; avg(SAL)=1566.66\n";
148+
+ "count()=5; DEPTNO=20; avg(SAL)=2175.\n"
149+
+ "count()=3; DEPTNO=10; avg(SAL)=2916.666666\n"
150+
+ "count()=6; DEPTNO=30; avg(SAL)=1566.666666\n";
151151
verifyResult(root, expectedResult);
152152

153153
String expectedSparkSql =
@@ -185,9 +185,9 @@ public void testAppendcolStatsOverride() {
185185
verifyLogical(root, expectedLogical);
186186
String expectedResult =
187187
""
188-
+ "count()=5; DEPTNO=20; avg(SAL)=2175.00\n"
189-
+ "count()=3; DEPTNO=10; avg(SAL)=2916.66\n"
190-
+ "count()=6; DEPTNO=30; avg(SAL)=1566.66\n";
188+
+ "count()=5; DEPTNO=20; avg(SAL)=2175.\n"
189+
+ "count()=3; DEPTNO=10; avg(SAL)=2916.666666\n"
190+
+ "count()=6; DEPTNO=30; avg(SAL)=1566.666666\n";
191191
verifyResult(root, expectedResult);
192192

193193
String expectedSparkSql =

0 commit comments

Comments
 (0)