You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by sn...@apache.org on 2026/05/01 07:02:02 UTC
(polaris) branch main updated: Build: suppress deprecation warning in PolarisCatalogUtils (#4262)
This is an automated email from the ASF dual-hosted git repository.
snazy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new 1a9f913ba7 Build: suppress deprecation warning in PolarisCatalogUtils (#4262)
1a9f913ba7 is described below
commit 1a9f913ba718a81a541c94f6a68c4afac41b1d91
Author: Robert Stupp <sn...@snazy.de>
AuthorDate: Fri May 1 09:01:58 2026 +0200
Build: suppress deprecation warning in PolarisCatalogUtils (#4262)
---
.../main/java/org/apache/polaris/spark/utils/PolarisCatalogUtils.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugins/spark/v3.5/spark/src/main/java/org/apache/polaris/spark/utils/PolarisCatalogUtils.java b/plugins/spark/v3.5/spark/src/main/java/org/apache/polaris/spark/utils/PolarisCatalogUtils.java
index f9435847c9..0eade78658 100644
--- a/plugins/spark/v3.5/spark/src/main/java/org/apache/polaris/spark/utils/PolarisCatalogUtils.java
+++ b/plugins/spark/v3.5/spark/src/main/java/org/apache/polaris/spark/utils/PolarisCatalogUtils.java
@@ -146,6 +146,7 @@ public class PolarisCatalogUtils {
// for now we will fill the parameters we have from polaris catalog, and let underlying client
// resolve the rest within its catalog implementation
org.apache.spark.sql.types.StructType emptySchema = new org.apache.spark.sql.types.StructType();
+ @SuppressWarnings("deprecation")
scala.collection.immutable.Seq<String> emptyStringSeq =
scala.collection.JavaConverters.asScalaBuffer(new java.util.ArrayList<String>()).toList();
CatalogTable catalogTable =