Re: [PR] DO NOT MERGE: Polaris Core SPI Idea [polaris]

2026-02-04 Thread via GitHub


github-actions[bot] closed pull request #3320: DO NOT MERGE: Polaris Core SPI 
Idea
URL: https://github.com/apache/polaris/pull/3320


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] DO NOT MERGE: Polaris Core SPI Idea [polaris]

2026-01-28 Thread via GitHub


github-actions[bot] commented on PR #3320:
URL: https://github.com/apache/polaris/pull/3320#issuecomment-3815005431

   This PR is stale because it has been open 30 days with no activity. Remove 
stale label or comment or this will be closed in 5 days.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] DO NOT MERGE: Polaris Core SPI Idea [polaris]

2025-12-29 Thread via GitHub


adam-christian-software commented on code in PR #3320:
URL: https://github.com/apache/polaris/pull/3320#discussion_r2651204214


##
polaris-core-spi/src/main/java/org/apache/polaris/core/catalog/PolarisCatalogHelpers.java:
##
@@ -0,0 +1,104 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.polaris.core.catalog;
+
+import com.google.common.collect.ImmutableList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.stream.Collectors;
+import org.apache.iceberg.catalog.Namespace;
+import org.apache.iceberg.catalog.TableIdentifier;
+import org.apache.polaris.core.entity.PolarisEntity;
+
+/**
+ * Holds helper methods translating between persistence-layer structs and 
Iceberg objects shared by

Review Comment:
   It's used by NamespaceEntity.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] DO NOT MERGE: Polaris Core SPI Idea [polaris]

2025-12-29 Thread via GitHub


adam-christian-software commented on code in PR #3320:
URL: https://github.com/apache/polaris/pull/3320#discussion_r2651201869


##
polaris-core-spi/build.gradle.kts:
##
@@ -0,0 +1,70 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+plugins { id("polaris-client") }
+
+dependencies {
+  compileOnly(libs.jakarta.annotation.api)
+  compileOnly(libs.guava)
+
+  compileOnly(platform(libs.jackson.bom))
+  compileOnly("com.fasterxml.jackson.core:jackson-annotations")
+  compileOnly("com.fasterxml.jackson.core:jackson-databind")
+  compileOnly("com.fasterxml.jackson.dataformat:jackson-dataformat-smile")
+  compileOnly("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml")
+
+  compileOnly(project(":polaris-immutables"))
+  annotationProcessor(project(":polaris-immutables", configuration = 
"processor"))
+
+  compileOnly(project(":polaris-api-management-model"))
+
+  compileOnly(platform(libs.iceberg.bom))
+  compileOnly("org.apache.iceberg:iceberg-api")
+  compileOnly("org.apache.iceberg:iceberg-core")

Review Comment:
   So, there imports of at least:
   org.apache.iceberg.rest.auth.OAuth2Properties
   org.apache.iceberg.rest.auth.OAuth2Util
   org.apache.iceberg.rest.auth.AuthProperties
   org.apache.iceberg.CatalogProperties
   org.apache.iceberg.TableMetadata
   org.apache.iceberg.view.ViewMetadata
   org.apache.iceberg.rest.RESTUtil
   org.apache.iceberg.rest.RESTSerializers
   
   I agree that it does not seem like this would be what we would want 
longer-term.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] DO NOT MERGE: Polaris Core SPI Idea [polaris]

2025-12-23 Thread via GitHub


dimas-b commented on code in PR #3320:
URL: https://github.com/apache/polaris/pull/3320#discussion_r2643532438


##
polaris-core-spi/build.gradle.kts:
##
@@ -0,0 +1,70 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+plugins { id("polaris-client") }
+
+dependencies {
+  compileOnly(libs.jakarta.annotation.api)
+  compileOnly(libs.guava)
+
+  compileOnly(platform(libs.jackson.bom))
+  compileOnly("com.fasterxml.jackson.core:jackson-annotations")
+  compileOnly("com.fasterxml.jackson.core:jackson-databind")
+  compileOnly("com.fasterxml.jackson.dataformat:jackson-dataformat-smile")
+  compileOnly("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml")
+
+  compileOnly(project(":polaris-immutables"))
+  annotationProcessor(project(":polaris-immutables", configuration = 
"processor"))
+
+  compileOnly(project(":polaris-api-management-model"))
+
+  compileOnly(platform(libs.iceberg.bom))
+  compileOnly("org.apache.iceberg:iceberg-api")
+  compileOnly("org.apache.iceberg:iceberg-core")

Review Comment:
   Why is `iceberg-core` a dependency of Polaris SPI? 🤔 



##
polaris-core-spi/src/main/java/org/apache/polaris/core/catalog/PolarisCatalogHelpers.java:
##
@@ -0,0 +1,104 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.polaris.core.catalog;
+
+import com.google.common.collect.ImmutableList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.stream.Collectors;
+import org.apache.iceberg.catalog.Namespace;
+import org.apache.iceberg.catalog.TableIdentifier;
+import org.apache.polaris.core.entity.PolarisEntity;
+
+/**
+ * Holds helper methods translating between persistence-layer structs and 
Iceberg objects shared by

Review Comment:
   Just from the javadoc it does not look like this class belongs in an SPI 🤔 
It is not something to be implemented by plugins 🤔 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]