From aef72e318207248a3babede7dd862349b187dc37 Mon Sep 17 00:00:00 2001 From: James Duong Date: Mon, 29 Apr 2024 12:25:23 -0700 Subject: [PATCH] Checkstyle/autostyle --- .../org/apache/calcite/test/RelBuilderTest.java | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/core/src/test/java/org/apache/calcite/test/RelBuilderTest.java b/core/src/test/java/org/apache/calcite/test/RelBuilderTest.java index 94f6c7e49ecf..d38f7fcda331 100644 --- a/core/src/test/java/org/apache/calcite/test/RelBuilderTest.java +++ b/core/src/test/java/org/apache/calcite/test/RelBuilderTest.java @@ -1476,11 +1476,13 @@ private RexNode caseCall(RelBuilder b, RexNode ref, RexNode... nodes) { EnumerableRules.ENUMERABLE_SORT_RULE, EnumerableRules.ENUMERABLE_TABLE_SCAN_RULE); Program program = Programs.of(prepareRules); - node = program.run(node.getCluster().getPlanner(), node, - desiredTraits, ImmutableList.of(), ImmutableList.of()); + node = + program.run(node.getCluster().getPlanner(), node, desiredTraits, ImmutableList.of(), + ImmutableList.of()); node = builder.push(node) - .aggregate(builder.groupKey(0), builder.aggregateCall( + .aggregate( + builder.groupKey(0), builder.aggregateCall( SqlStdOperatorTable.SUM, builder.field(0))) .build(); @@ -1517,13 +1519,15 @@ private RexNode caseCall(RelBuilder b, RexNode ref, RexNode... nodes) { RuleSets.ofList(EnumerableRules.ENUMERABLE_PROJECT_RULE, EnumerableRules.ENUMERABLE_TABLE_SCAN_RULE); Program program = Programs.of(prepareRules); - node = program.run(node.getCluster().getPlanner(), node, - desiredTraits, ImmutableList.of(), ImmutableList.of()); + node = + program.run(node.getCluster().getPlanner(), node, desiredTraits, ImmutableList.of(), + ImmutableList.of()); node = node.copy(desiredTraits.plus(RelDistributions.BROADCAST_DISTRIBUTED), node.getInputs()); node = builder.push(node) - .aggregate(builder.groupKey(0), builder.aggregateCall( + .aggregate( + builder.groupKey(0), builder.aggregateCall( SqlStdOperatorTable.SUM, builder.field(0))) .build();