From d9e1b60257d3aa313109e18336f7991dfb603175 Mon Sep 17 00:00:00 2001 From: liangbowen Date: Fri, 30 Jun 2023 11:34:36 +0800 Subject: [PATCH] [KYUUBI #5007] Bump Scalafmt from 3.7.4 to 3.7.5 ### _Why are the changes needed?_ - Scalafmt 3.7.5 release note: https://github.com/scalameta/scalafmt/releases/tag/v3.7.5 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request Closes #5007 from bowenliang123/scalafmt-3.7.5. Closes #5007 f3f7163a4 [liangbowen] Bump Scalafmt from 3.7.4 to 3.7.5 Authored-by: liangbowen Signed-off-by: liangbowen --- .scalafmt.conf | 2 +- .../apache/spark/kyuubi/SparkSimpleStatsReportListner.scala | 3 +++ .../scala/org/apache/kyuubi/operation/SparkQueryTests.scala | 2 +- pom.xml | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/SparkSimpleStatsReportListner.scala diff --git a/.scalafmt.conf b/.scalafmt.conf index 97529cc55..b0e130715 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.7.4 +version = 3.7.5 runner.dialect=scala212 project.git=true diff --git a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/SparkSimpleStatsReportListner.scala b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/SparkSimpleStatsReportListner.scala new file mode 100644 index 000000000..cee2acc9c --- /dev/null +++ b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/SparkSimpleStatsReportListner.scala @@ -0,0 +1,3 @@ +package org.apache.spark.kyuubi class SparkSimpleStatsReportListner { + +} diff --git a/kyuubi-common/src/test/scala/org/apache/kyuubi/operation/SparkQueryTests.scala b/kyuubi-common/src/test/scala/org/apache/kyuubi/operation/SparkQueryTests.scala index ff8b12481..9c00a11ba 100644 --- a/kyuubi-common/src/test/scala/org/apache/kyuubi/operation/SparkQueryTests.scala +++ b/kyuubi-common/src/test/scala/org/apache/kyuubi/operation/SparkQueryTests.scala @@ -383,7 +383,7 @@ trait SparkQueryTests extends SparkDataTypeTests with HiveJDBCTestHelper { rs.next() // scalastyle:off println(rs.getString(1)) - // scalastyle:on + // scalastyle:on } val code1 = s"""spark.sql("add jar " + jarPath)""" diff --git a/pom.xml b/pom.xml index 4d57e20b3..e0b4e0374 100644 --- a/pom.xml +++ b/pom.xml @@ -256,7 +256,7 @@ 22.3.0 - 3.7.4 + 3.7.5 apache.releases.https Apache Release Distribution Repository