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

felixybw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 69b358a6bb [MINOR] String concatenation should follows scala style 
(#10305)
69b358a6bb is described below

commit 69b358a6bb72f1a4e51b00deeb81b822cf5f29cc
Author: Jiaan Geng <[email protected]>
AuthorDate: Fri Aug 1 07:24:11 2025 +0800

    [MINOR] String concatenation should follows scala style (#10305)
    
    This PR proposes to make string concatenation following scala style.
    This PR also removes the unused constant GLUTEN_CONFIG_PREFIX too.
---
 .../src/main/scala/org/apache/gluten/config/GlutenConfig.scala      | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git 
a/gluten-substrait/src/main/scala/org/apache/gluten/config/GlutenConfig.scala 
b/gluten-substrait/src/main/scala/org/apache/gluten/config/GlutenConfig.scala
index 01c4730d8c..cc3b55a0df 100644
--- 
a/gluten-substrait/src/main/scala/org/apache/gluten/config/GlutenConfig.scala
+++ 
b/gluten-substrait/src/main/scala/org/apache/gluten/config/GlutenConfig.scala
@@ -439,8 +439,6 @@ object GlutenConfig {
   val GLUTEN_IAA_BACKEND_NAME = "iaa"
   val GLUTEN_IAA_SUPPORTED_CODEC: Set[String] = Set("gzip")
 
-  private val GLUTEN_CONFIG_PREFIX = "spark.gluten.sql.columnar.backend."
-
   // Private Spark configs.
   val SPARK_OVERHEAD_SIZE_KEY = "spark.executor.memoryOverhead"
   val SPARK_OVERHEAD_FACTOR_KEY = "spark.executor.memoryOverheadFactor"
@@ -456,9 +454,7 @@ object GlutenConfig {
     new GlutenConfig(SQLConf.get)
   }
 
-  def prefixOf(backendName: String): String = {
-    GLUTEN_CONFIG_PREFIX + backendName
-  }
+  def prefixOf(backendName: String): String = 
s"spark.gluten.sql.columnar.backend.$backendName"
 
   /**
    * Get dynamic configs.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to