Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ViggoC committed Dec 17, 2024
1 parent c7ca6d1 commit 0d60466
Showing 1 changed file with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,14 +299,11 @@ public static Frameworks.ConfigBuilder config() {
final RelFieldTrimmer fieldTrimmer = new RelFieldTrimmer(null, builder);
final RelNode trimmed = fieldTrimmer.trim(original);

final String expected =
"LogicalAggregate(group=[{2}], SAL=[SUM($1)])\n"
+
" LogicalFilter(condition=[>($2, 100)])\n"
+
" LogicalProject(EMPNO=[$0], SAL=[$5], DEPTNO=[$7])\n"
+
" LogicalTableScan(table=[[scott, EMP]])\n";
final String expected = ""
+ "LogicalAggregate(group=[{2}], SAL=[SUM($1)])\n"
+ " LogicalFilter(condition=[>($2, 100)])\n"
+ " LogicalProject(EMPNO=[$0], SAL=[$5], DEPTNO=[$7])\n"
+ " LogicalTableScan(table=[[scott, EMP]])\n";
assertThat(trimmed, hasTree(expected));
}

Expand Down

0 comments on commit 0d60466

Please sign in to comment.