diff --git a/flink-table/flink-table-planner/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java b/flink-table/flink-table-planner/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java index adfefa4a5c858..8998b05184fd8 100644 --- a/flink-table/flink-table-planner/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java +++ b/flink-table/flink-table-planner/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java @@ -1203,7 +1203,7 @@ private void substituteSubQuery(Blackboard bb, SubQuery subQuery) { if (!config.isExpand()) { return; } - // fall through + // fall through case MULTISET_VALUE_CONSTRUCTOR: rel = convertMultisets(ImmutableList.of(subQuery.node), bb); subQuery.expr = bb.register(rel, JoinRelType.INNER); @@ -2113,9 +2113,9 @@ private void findSubQueries( } if (node instanceof SqlCall) { switch (kind) { - // Do no change logic for AND, IN and NOT IN expressions; - // but do change logic for OR, NOT and others; - // EXISTS was handled already. + // Do no change logic for AND, IN and NOT IN expressions; + // but do change logic for OR, NOT and others; + // EXISTS was handled already. case AND: case IN: case NOT_IN: @@ -2246,7 +2246,7 @@ private RexNode convertOver(Blackboard bb, SqlNode node) { switch (aggCall.getKind()) { case IGNORE_NULLS: ignoreNulls = true; - // fall through + // fall through case RESPECT_NULLS: aggCall = aggCall.operand(0); break; @@ -5536,7 +5536,7 @@ public RexNode convertExpression(SqlNode expr) { if (config.isExpand()) { throw new RuntimeException(kind + " is only supported if expand = false"); } - // fall through + // fall through case CURSOR: case IN: case NOT_IN: @@ -6166,7 +6166,7 @@ private void translateAgg( return; case IGNORE_NULLS: ignoreNulls = true; - // fall through + // fall through case RESPECT_NULLS: translateAgg( call.operand(0), @@ -6247,8 +6247,8 @@ private void translateAgg( call2, filter, distinctList, orderList, ignoreNulls, outerCall); return; } - // "ARRAY_AGG" and "ARRAY_CONCAT_AGG" without "ORDER BY" - // are handled normally; fall through. + // "ARRAY_AGG" and "ARRAY_CONCAT_AGG" without "ORDER BY" + // are handled normally; fall through. default: break;