This is an automated email from the ASF dual-hosted git repository.

bowenliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new d9e1b6025 [KYUUBI #5007] Bump Scalafmt from 3.7.4 to 3.7.5
d9e1b6025 is described below

commit d9e1b60257d3aa313109e18336f7991dfb603175
Author: liangbowen <[email protected]>
AuthorDate: Fri Jun 30 11:34:36 2023 +0800

    [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 <[email protected]>
    Signed-off-by: liangbowen <[email protected]>
---
 .scalafmt.conf                                                         | 2 +-
 .../scala/org/apache/spark/kyuubi/SparkSimpleStatsReportListner.scala  | 3 +++
 .../src/test/scala/org/apache/kyuubi/operation/SparkQueryTests.scala   | 2 +-
 pom.xml                                                                | 2 +-
 4 files changed, 6 insertions(+), 3 deletions(-)

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 @@
         <spotless.python.includes></spotless.python.includes>
         <spotless.python.black.version>22.3.0</spotless.python.black.version>
         <!-- Please also update .scalafmt.conf when you change it here -->
-        
<spotless.scala.scalafmt.version>3.7.4</spotless.scala.scalafmt.version>
+        
<spotless.scala.scalafmt.version>3.7.5</spotless.scala.scalafmt.version>
 
         <distMgmtReleaseId>apache.releases.https</distMgmtReleaseId>
         <distMgmtReleaseName>Apache Release Distribution 
Repository</distMgmtReleaseName>

Reply via email to