This is an automated email from the ASF dual-hosted git repository. wenchen pushed a commit to branch branch-3.5 in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.5 by this push: new 4ca29161ba1 [SPARK-44324][SQL][CONNECT] Move CaseInsensitiveMap to sql/api 4ca29161ba1 is described below commit 4ca29161ba16ce195a08b36c9abf2fc5d1841d1a Author: Rui Wang <rui.w...@databricks.com> AuthorDate: Wed Jul 19 09:02:32 2023 +0800 [SPARK-44324][SQL][CONNECT] Move CaseInsensitiveMap to sql/api ### What changes were proposed in this pull request? Move CaseInsensitiveMap to sql/api. ### Why are the changes needed? So that Spark Connect Scala client do not need to depend on the Catalyst. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing test Closes #41882 from amaliujia/move_case_senstiive_map. Authored-by: Rui Wang <rui.w...@databricks.com> Signed-off-by: Wenchen Fan <wenc...@databricks.com> (cherry picked from commit ede82a9519241492ae7bc3aef703b9eb875befb7) Signed-off-by: Wenchen Fan <wenc...@databricks.com> --- sql/api/pom.xml | 18 ++++++++++++++++++ .../spark/sql/catalyst/util/CaseInsensitiveMap.scala | 0 .../spark/sql/catalyst/util/CaseInsensitiveMap.scala | 0 3 files changed, 18 insertions(+) diff --git a/sql/api/pom.xml b/sql/api/pom.xml index 41a5b85d4c6..6add5679ce7 100644 --- a/sql/api/pom.xml +++ b/sql/api/pom.xml @@ -50,6 +50,24 @@ <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory> <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory> <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <executions> + <execution> + <id>add-sources</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>src/main/scala-${scala.binary.version}</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> </project> \ No newline at end of file diff --git a/sql/catalyst/src/main/scala-2.12/org/apache/spark/sql/catalyst/util/CaseInsensitiveMap.scala b/sql/api/src/main/scala-2.12/org/apache/spark/sql/catalyst/util/CaseInsensitiveMap.scala similarity index 100% rename from sql/catalyst/src/main/scala-2.12/org/apache/spark/sql/catalyst/util/CaseInsensitiveMap.scala rename to sql/api/src/main/scala-2.12/org/apache/spark/sql/catalyst/util/CaseInsensitiveMap.scala diff --git a/sql/catalyst/src/main/scala-2.13/org/apache/spark/sql/catalyst/util/CaseInsensitiveMap.scala b/sql/api/src/main/scala-2.13/org/apache/spark/sql/catalyst/util/CaseInsensitiveMap.scala similarity index 100% rename from sql/catalyst/src/main/scala-2.13/org/apache/spark/sql/catalyst/util/CaseInsensitiveMap.scala rename to sql/api/src/main/scala-2.13/org/apache/spark/sql/catalyst/util/CaseInsensitiveMap.scala --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org