We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a16176 commit 7b619e5Copy full SHA for 7b619e5
ppl/src/test/java/org/opensearch/sql/ppl/calcite/CalcitePPLMathFunctionTest.java
@@ -20,9 +20,9 @@ public void testAbsWithOverriding() {
20
String ppl = "source=EMP | eval SAL = abs(-30) | fields SAL";
21
RelNode root = getRelNode(ppl);
22
String expectedLogical =
23
- "LogicalProject(SAL0=[ABS(-30)])\n LogicalTableScan(table=[[scott, EMP]])\n";
+ "LogicalProject(SAL=[ABS(-30)])\n LogicalTableScan(table=[[scott, EMP]])\n";
24
verifyLogical(root, expectedLogical);
25
- String expectedSparkSql = "SELECT ABS(-30) `SAL0`\nFROM `scott`.`EMP`";
+ String expectedSparkSql = "SELECT ABS(-30) `SAL`\nFROM `scott`.`EMP`";
26
verifyPPLToSparkSQL(root, expectedSparkSql);
27
}
28
0 commit comments