Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ppl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ spotless {
target fileTree('.') {
include '**/*.java'
exclude '**/build/**', '**/build-*/**'
exclude 'src/main/gen/**'
}
importOrder()
// licenseHeader("/*\n" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ public void testAbsWithOverriding() {
String ppl = "source=EMP | eval SAL = abs(-30) | fields SAL";
RelNode root = getRelNode(ppl);
String expectedLogical =
"LogicalProject(SAL0=[ABS(-30)])\n LogicalTableScan(table=[[scott, EMP]])\n";
"LogicalProject(SAL=[ABS(-30)])\n LogicalTableScan(table=[[scott, EMP]])\n";
verifyLogical(root, expectedLogical);
String expectedSparkSql = "SELECT ABS(-30) `SAL0`\nFROM `scott`.`EMP`";
String expectedSparkSql = "SELECT ABS(-30) `SAL`\nFROM `scott`.`EMP`";
verifyPPLToSparkSQL(root, expectedSparkSql);
}

Expand Down
Loading