From ad6dc39ce15b17e9b55de174d7e4dad0c74ada2a Mon Sep 17 00:00:00 2001 From: jacktengg <18241664+jacktengg@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:04:54 +0800 Subject: [PATCH] fix fe format --- .../src/main/java/org/apache/doris/analysis/TypeDef.java | 3 ++- .../trees/expressions/functions/ComputePrecisionForSum.java | 1 - .../doris/nereids/trees/expressions/functions/agg/Avg.java | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/TypeDef.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/TypeDef.java index 845b304db16e606..32470dd2bd755eb 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/analysis/TypeDef.java +++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/TypeDef.java @@ -318,7 +318,8 @@ private void analyzeScalarType(ScalarType scalarType) break; } else { int precision = scalarType.decimalPrecision(); - throw new AnalysisException("Column of type Decimal256 with precision " + precision + " in not supported."); + throw new AnalysisException( + "Column of type Decimal256 with precision " + precision + " in not supported."); } } case TIMEV2: diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/ComputePrecisionForSum.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/ComputePrecisionForSum.java index d7665f3f262c27e..7480c510baf7bcd 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/ComputePrecisionForSum.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/ComputePrecisionForSum.java @@ -20,7 +20,6 @@ import org.apache.doris.catalog.FunctionSignature; import org.apache.doris.nereids.types.DataType; import org.apache.doris.nereids.types.DecimalV3Type; - import org.apache.doris.qe.ConnectContext; /** ComputePrecisionForSum */ diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/Avg.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/Avg.java index 512421032b6d9d6..cc75c5767c83d1c 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/Avg.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/Avg.java @@ -35,7 +35,6 @@ import org.apache.doris.nereids.types.LargeIntType; import org.apache.doris.nereids.types.SmallIntType; import org.apache.doris.nereids.types.TinyIntType; - import org.apache.doris.qe.ConnectContext; import com.google.common.base.Preconditions;