Skip to content

Commit 70592b8

Browse files
snazyjbonofreeric-maynardHonahXrenovate-bot
authored
Dremio merge 2025 05 19 09 52 (#70)
* Fix header in the gradle-wrapper.properties (apache#1587) * Refactor GenericTableCatalog to support generic table federation (apache#1579) * initial commit * stable * javadocs * autolint * changes per review * Update headers for files copied from non ASF projects and update LICENSE (apache#1562) * [Policy Store] Enforce regex requirement for policy name (apache#1583) * Enforce regex requirement for policy name * enable validation in open api builder * FIx nit * Include LICENSE, NOTICE, DISCLAIMER files in the docker images (apache#1588) * main: Update swagger to v1.6.16 (apache#1594) * Eliminate usage of CatalogHandlers; introduce CatalogHandlerUtils (apache#1576) * compiles * wire it up * De-static, add config * autolint * license entry * cut over * pull * revert helm doc * autolint * Allow realm context resolution to execute blocking calls (apache#1591) * main: Update dependency com.adobe.testing:s3mock-testcontainers to v4.3.0 (apache#1597) * Fix header in helm chart (apache#1560) * Following vote/discussion on the Incubator general mailing list, NOTICE now contains part of Nessie NOTICE. (apache#1565) * In binary distributions, now we group the artifacts and we add BSD/MIT licenses inline (apache#1573) * Better null-safety for check against unsafe catalog configs (apache#1584) Better null-safety for check against unsafe catalog configs * Add support for federated principal and role with block for manual role assignment (apache#1353) * Add support for federated principal and role with block for manual role assignment * Update spec to distinguish federated and non-federated entities * Changed builder to allow setting federated status twice * Revert spec changes - add 'federated' property back to Principal entity * Fixed builder to remove federated property * Removed unnecessary openapi config flags * Fix compilation issue in test * Remove federated flag from principal entity * Fixed builder oversight * Fix compilation failures and rebase on main * Remove verbose terminal output for admin tool (apache#1598) * Site: Use the overview page as the home page (apache#1605) * Include only relevant information from Picocli NOTICE as it doesn't apply in Polaris (as we use binary package, not source package) (apache#1561) * Site: Simplified doc for spark download (apache#1608) * main: Update dependency software.amazon.awssdk:bom to v2.31.45 (apache#1607) * main: Update registry.access.redhat.com/ubi9/openjdk-21-runtime Docker tag to v1.22-1.1747241886 (apache#1603) * main: Update dependency boto3 to v1.38.18 (apache#1592) * merge fix --------- Co-authored-by: JB Onofré <jbonofre@apache.org> Co-authored-by: Eric Maynard <eric.maynard+oss@snowflake.com> Co-authored-by: Honah (Jonas) J. <honahx@apache.org> Co-authored-by: Mend Renovate <bot@renovateapp.com> Co-authored-by: Alexandre Dutra <adutra@users.noreply.github.com> Co-authored-by: Michael Collado <40346148+collado-mike@users.noreply.github.com> Co-authored-by: Yufei Gu <yufei@apache.org> Co-authored-by: MonkeyCanCode <yongzheng0809@gmail.com>
1 parent 7d31ba5 commit 70592b8

File tree

128 files changed

+4161
-5218
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+4161
-5218
lines changed

LICENSE

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,11 @@ This product includes code from Apache Iceberg.
219219
* spec/polaris-catalog-apis/oauth-tokens-api.yaml
220220
* integration-tests/src/main/java/org/apache/polaris/service/it/test/PolarisRestCatalogIntegrationTest.java
221221
* service/common/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalog.java
222+
* service/common/src/main/java/org/apache/polaris/service/catalog/iceberg/CatalogHandlerUtils.java
223+
* plugins/spark/v3.5/spark/src/main/java/org/apache/polaris/spark/PolarisSparkCatalog.java
224+
* plugins/spark/v3.5/spark/src/test/java/org/apache/polaris/spark/PolarisInMemoryCatalog.java
225+
* plugins/spark/v3.5/spark/src/main/java/org/apache/polaris/spark/PolarisRESTCatalog.java
226+
* plugins/spark/v3.5/spark/src/main/java/org/apache/polaris/spark/SparkCatalog.java
222227

223228
Copyright: Copyright 2017-2025 The Apache Software Foundation
224229
Home page: https://iceberg.apache.org
@@ -271,11 +276,12 @@ License: https://www.apache.org/licenses/LICENSE-2.0
271276
This product includes code from Project Nessie.
272277

273278
* build-logic/src/main/kotlin/LicenseFileValidation.kt
274-
* build-logic/src/main/kotlin/publishing/MemoizedGitInfo.kt
275-
* build-logic/src/main/kotlin/publishing/PublishingHelperExtension.kt
279+
* build-logic/src/main/kotlin/copiedcode/CopiedCodeCheckerPlugin.kt
280+
* build-logic/src/main/kotlin/copiedcode/CopiedCodeCheckerExtension.kt
276281
* build-logic/src/main/kotlin/publishing/PublishingHelperPlugin.kt
277-
* build-logic/src/main/kotlin/publishing/shadowPub.kt
278-
* build-logic/src/main/kotlin/publishing/util.kt
282+
* build-logic/src/main/kotlin/Utilities.kt
283+
* build-logic/src/main/kotlin/polaris-shadow-jar.gradle.kts
284+
* build-logic/src/main/kotlin/polaris-quarkus.gradle.kts
279285
* tools/config-docs/annotations/src/main/java/org/apache/polaris/docs/ConfigDocs.java
280286
* tools/config-docs/generator/src/main/java/org/apache/polaris/docs/generator/DocGenDoclet.java
281287
* tools/config-docs/generator/src/main/java/org/apache/polaris/docs/generator/MarkdownFormatter.java
@@ -287,8 +293,8 @@ This product includes code from Project Nessie.
287293
* tools/config-docs/generator/src/main/java/org/apache/polaris/docs/generator/PropertyInfo.java
288294
* tools/config-docs/generator/src/main/java/org/apache/polaris/docs/generator/SmallRyeConfigMappingInfo.java
289295
* tools/config-docs/generator/src/main/java/org/apache/polaris/docs/generator/SmallRyeConfigPropertyInfo.java
290-
* tools/config-docs/generator/src/main/java/org/apache/polaris/docs/generator/SmallRyeConfigSectionPage.java
291296
* tools/config-docs/generator/src/main/java/org/apache/polaris/docs/generator/SmallRyeConfigs.java
297+
* tools/config-docs/generator/src/main/java/org/apache/polaris/docs/generator/ReferenceConfigDocsGenerator.java
292298
* tools/config-docs/generator/src/test/java/org/apache/polaris/docs/generator/TestDocGenTool.java
293299
* tools/config-docs/generator/src/test/java/tests/properties/ConfigProps.java
294300
* tools/config-docs/generator/src/test/java/tests/properties/MoreProps.java
@@ -314,6 +320,15 @@ This product includes code from Project Nessie.
314320
* tools/config-docs/generator/src/test/java/tests/smallrye/OtherMapped.java
315321
* tools/config-docs/generator/src/test/java/tests/smallrye/SomeEnum.java
316322
* tools/config-docs/generator/src/test/java/tests/smallrye/VeryNested.java
323+
* tools/container-spec-helper/src/main/java/org/apache/polaris/containerspec/ContainerSpecHelper.java
324+
* quarkus/admin/src/main/java/org/apache/polaris/admintool/PolarisAdminTool.java
325+
* helm/polaris/tests/logging_storage_test.yaml
326+
* helm/polaris/tests/quantity_test.yaml
327+
* helm/polaris/tests/service_monitor_test.yaml
328+
* helm/polaris/templates/_helpers.tpl
329+
* helm/polaris/templates/serviceaccount.yaml
330+
* helm/polaris/templates/servicemonitor.yaml
331+
* helm/polaris/templates/storage.yaml
317332

318333
Code underneath the components/persistence directory, especially pluggable object types, index related, cache,
319334
atomic commit logic and fundamental persistence implementations.

NOTICE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@ The Apache Software Foundation (http://www.apache.org/).
77
The initial code for the Polaris project was donated
88
to the ASF by Snowflake Inc. (https://www.snowflake.com/) copyright 2024.
99

10+
--------------------------------------------------------------------------------
11+
12+
This project includes code from Project Nessie, developed at Dremio,
13+
with the following copyright notice:
14+
15+
| Nessie
16+
| Copyright 2015-2025 Dremio Corporation

api/iceberg-service/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ openApiGenerate {
6666
configOptions.put("useBeanValidation", "false")
6767
configOptions.put("sourceFolder", "src/main/java")
6868
configOptions.put("useJakartaEe", "true")
69-
openapiNormalizer.put("REFACTOR_ALLOF_WITH_PROPERTIES_ONLY", "true")
7069
additionalProperties.put("apiNamePrefix", "IcebergRest")
7170
additionalProperties.put("apiNameSuffix", "")
7271
additionalProperties.put("metricsPrefix", "polaris")

api/polaris-catalog-service/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,12 @@ openApiGenerate {
9090
globalProperties.put("modelTests", "false")
9191
configOptions.put("resourceName", "catalog")
9292
configOptions.put("useTags", "true")
93-
configOptions.put("useBeanValidation", "false")
93+
configOptions.put("useBeanValidation", "true")
9494
configOptions.put("sourceFolder", "src/main/java")
9595
configOptions.put("useJakartaEe", "true")
9696
configOptions.put("generateBuilders", "true")
9797
configOptions.put("generateConstructorWithAllArgs", "true")
9898
configOptions.put("openApiNullable", "false")
99-
openapiNormalizer.put("REFACTOR_ALLOF_WITH_PROPERTIES_ONLY", "true")
10099
additionalProperties.put("apiNamePrefix", "PolarisCatalog")
101100
additionalProperties.put("apiNameSuffix", "")
102101
additionalProperties.put("metricsPrefix", "polaris")

build-logic/src/main/kotlin/LicenseFileValidation.kt

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one
3-
* or more contributor license agreements. See the NOTICE file
4-
* distributed with this work for additional information
5-
* regarding copyright ownership. The ASF licenses this file
6-
* to you under the Apache License, Version 2.0 (the
7-
* "License"); you may not use this file except in compliance
8-
* with the License. You may obtain a copy of the License at
2+
* Copyright (C) 2024 Dremio
93
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
117
*
12-
* Unless required by applicable law or agreed to in writing,
13-
* software distributed under the License is distributed on an
14-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
* KIND, either express or implied. See the License for the
16-
* specific language governing permissions and limitations
17-
* under the License.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1815
*/
1916

2017
import com.github.jk1.license.LicenseReportExtension

build-logic/src/main/kotlin/Utilities.kt

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one
3-
* or more contributor license agreements. See the NOTICE file
4-
* distributed with this work for additional information
5-
* regarding copyright ownership. The ASF licenses this file
6-
* to you under the Apache License, Version 2.0 (the
7-
* "License"); you may not use this file except in compliance
8-
* with the License. You may obtain a copy of the License at
2+
* Copyright (C) 2024 Dremio
93
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
117
*
12-
* Unless required by applicable law or agreed to in writing,
13-
* software distributed under the License is distributed on an
14-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
* KIND, either express or implied. See the License for the
16-
* specific language governing permissions and limitations
17-
* under the License.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1815
*/
1916

2017
import org.gradle.api.Project

build-logic/src/main/kotlin/copiedcode/CopiedCodeCheckerExtension.kt

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one
3-
* or more contributor license agreements. See the NOTICE file
4-
* distributed with this work for additional information
5-
* regarding copyright ownership. The ASF licenses this file
6-
* to you under the Apache License, Version 2.0 (the
7-
* "License"); you may not use this file except in compliance
8-
* with the License. You may obtain a copy of the License at
2+
* Copyright (C) 2024 Dremio
93
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
117
*
12-
* Unless required by applicable law or agreed to in writing,
13-
* software distributed under the License is distributed on an
14-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
* KIND, either express or implied. See the License for the
16-
* specific language governing permissions and limitations
17-
* under the License.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1815
*/
1916

2017
package copiedcode

build-logic/src/main/kotlin/copiedcode/CopiedCodeCheckerPlugin.kt

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one
3-
* or more contributor license agreements. See the NOTICE file
4-
* distributed with this work for additional information
5-
* regarding copyright ownership. The ASF licenses this file
6-
* to you under the Apache License, Version 2.0 (the
7-
* "License"); you may not use this file except in compliance
8-
* with the License. You may obtain a copy of the License at
2+
* Copyright (C) 2024 Dremio
93
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
117
*
12-
* Unless required by applicable law or agreed to in writing,
13-
* software distributed under the License is distributed on an
14-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
* KIND, either express or implied. See the License for the
16-
* specific language governing permissions and limitations
17-
* under the License.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1815
*/
1916

2017
package copiedcode

build-logic/src/main/kotlin/polaris-quarkus.gradle.kts

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one
3-
* or more contributor license agreements. See the NOTICE file
4-
* distributed with this work for additional information
5-
* regarding copyright ownership. The ASF licenses this file
6-
* to you under the Apache License, Version 2.0 (the
7-
* "License"); you may not use this file except in compliance
8-
* with the License. You may obtain a copy of the License at
2+
* Copyright (C) 2024 Dremio
93
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
117
*
12-
* Unless required by applicable law or agreed to in writing,
13-
* software distributed under the License is distributed on an
14-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
* KIND, either express or implied. See the License for the
16-
* specific language governing permissions and limitations
17-
* under the License.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1815
*/
1916

2017
import org.gradle.api.plugins.jvm.JvmTestSuite

build-logic/src/main/kotlin/polaris-root.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if (!project.extra.has("duplicated-project-sources")) {
3737
spotless {
3838
kotlinGradle {
3939
ktfmt().googleStyle()
40-
licenseHeaderFile(rootProject.file("codestyle/copyright-header-java.txt"), "$")
40+
// licenseHeaderFile(rootProject.file("codestyle/copyright-header-java.txt"), "$")
4141
target("*.gradle.kts", "build-logic/*.gradle.kts", "build-logic/src/**/*.kt*")
4242
}
4343
}

0 commit comments

Comments
 (0)