You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ru...@apache.org on 2024/09/10 07:28:33 UTC

(spark) branch master updated: [SPARK-49085][FOLLOWUP] Update the scope of `spark-protobuf`

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e918fb65f9bc [SPARK-49085][FOLLOWUP] Update the scope of `spark-protobuf`
e918fb65f9bc is described below

commit e918fb65f9bcd332f99a542fca06958b98d3b950
Author: Ruifeng Zheng <ru...@apache.org>
AuthorDate: Tue Sep 10 15:28:13 2024 +0800

    [SPARK-49085][FOLLOWUP] Update the scope of `spark-protobuf`
    
    ### What changes were proposed in this pull request?
    Update the scope of `spark-protobuf`
    
    ### Why are the changes needed?
    after https://github.com/apache/spark/pull/47885, `org.apache.spark.sql.protobuf` is only used for testing
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    CI
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No
    
    Closes #48051 from zhengruifeng/protobuf_scope.
    
    Authored-by: Ruifeng Zheng <ru...@apache.org>
    Signed-off-by: Ruifeng Zheng <ru...@apache.org>
---
 sql/connect/server/pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sql/connect/server/pom.xml b/sql/connect/server/pom.xml
index 2e7c3f81aa1d..110065fcd972 100644
--- a/sql/connect/server/pom.xml
+++ b/sql/connect/server/pom.xml
@@ -111,7 +111,8 @@
       <groupId>org.apache.spark</groupId>
       <artifactId>spark-protobuf_${scala.binary.version}</artifactId>
       <version>${project.version}</version>
-      <scope>provided</scope>
+      <type>test-jar</type>
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.spark</groupId>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org