Skip to content

Commit 5991c99

Browse files
committed
Fix expectedSparkSql in sqrt test
Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
1 parent 63e84ac commit 5991c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ public void testSqrt() {
301301
String expectedLogical =
302302
"LogicalProject(SQRT=[POWER(4, 0.5E0:DOUBLE)])\n LogicalTableScan(table=[[scott, EMP]])\n";
303303
verifyLogical(root, expectedLogical);
304-
String expectedSparkSql = "SELECT SQRT(4) `SQRT`\nFROM `scott`.`EMP`";
304+
String expectedSparkSql = "SELECT POWER(4, 5E-1) `SQRT`\nFROM `scott`.`EMP`";
305305
verifyPPLToSparkSQL(root, expectedSparkSql);
306306
}
307307
}

0 commit comments

Comments
 (0)