Skip to content

Commit 4741fc6

Browse files
snazydimas-bXN137renovate-botadutra
authored
Dremio merge 2025 08 05 16 04 (apache#100)
* feat: Add `endpointInternal` to `AwsStorageConfigInfo` (apache#2213) * feat: Add `endpointInternal` to `AwsStorageConfigInfo` This API change is backward compatible with older clients and server using old storage configuration. * The `endpointInternal` allows Polaris Servers to use a different host name (or IP address) for accessing S3 storage than clients. This is not a common use case, but may be relevant is more complex environments. * If not set `endpointInternal` defaults to `endpoint`. * The STS endpoint default changes to `endpointInternal`. Contributes to apache#1530 * Fix deprecated Quarkus log properties (apache#2216) see https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.19#other-changes-gear-white_check_mark CI Quarkus tests were logging this repeatedly: ``` The "quarkus.log.file.json" config property is deprecated and should not be used anymore. The "quarkus.log.console.json" config property is deprecated and should not be used anymore. The "quarkus.log.file.json" config property is deprecated and should not be used anymore. The "quarkus.log.console.json" config property is deprecated and should not be used anymore. ``` * chore(deps): update dependency mypy to >=1.17, <=1.17.1 (apache#2218) * fix(deps): update dependency boto3 to v1.40.1 (apache#2240) * fix(deps): update dependency com.azure:azure-sdk-bom to v1.2.37 (apache#2242) * JDBC: Log SQL statements at debug level (apache#2221) * Add ResolutionManifestFactory (apache#2210) after 95358a9 very little functionality was left in `PolarisEntityManager`. by splitting out the more dedicated `ResolutionManifestFactory` we can remove `PolarisEntityManager` and `RealmEntityManagerFactory` completely it seems. * Prepare upgrade to Gradle 9 (apache#2237) * `shadowPub.kt` the change removes a special case that doesn't apply to Polaris * `api/...` build scripts - changes due to nullable type handling (`Property<String>` vs `Property<String?>` - latter is ... weird) * fix(deps): update dependency software.amazon.awssdk:bom to v2.32.14 (apache#2246) * Replace TestPolarisMetaStoreManager with Mockito.spy (apache#2230) this takes less code and is more flexible in the future * Remove obsolete information from README-quarkus.md (apache#2252) * fix(deps): update dependency boto3 to v1.40.2 (apache#2256) * fix(deps): update dependency com.gradleup.shadow:shadow-gradle-plugin to v8.3.9 (apache#2260) * fix(deps): update immutables to v2.11.2 (apache#2257) * Only pass `RealmConfig` to `PolarisStorageIntegration` (apache#2234) All `PolarisStorageIntegration` requite only the `RealmConfig`, not the whole `CallContext`. This makes it easier for the new tasks impleemntations (both proposals). * QuarkusProducers: remove unneeded `BasePersistence` producer (apache#2255) * Use application-scope clock when generating GCP credentials (apache#2241) This change also fixes a flaky test: `StorageConfigurationTest.testCreateGcpCredentialsFromStaticToken` * chore(deps): update plugin jetbrains-changelog to v2.4.0 (apache#2264) * chore(deps): update gradle/actions digest to 017a9ef (apache#2265) * Remove config parameter from `PolarisStorageIntegration#getSubscopedCreds` (apache#2235) Instances of `PolarisStorageIntegration` are created for a particular `PolarisStorageConfigurationInfo`, the same value is then passed into `PSI.getSubscopedCreds()`. This change removes the config parameter, as it's already known when `PolarisStorageIntegration` instances are created. * chore(deps): update registry.access.redhat.com/ubi9/openjdk-21-runtime docker tag to v1.22-1.1753981256 (apache#2266) * Make `*StorageConfigurationInfo` types immutable (apache#2236) This change eventually enables usage of the `*StorageConfigurationInfo` in the `StorageCredentialCacheKey` due to the then memoized hash-code values, to eliminate a couple of JSON re-serializations. * JDBC: SERIALIZABLE/EntityNotFoundException (apache#2219) With serializable isolation level, if either the primary-key or the check-constraint are violated, the lookup of the conflicting entity is not guaranteed to yield a non-null result (transaction start matters). This changes works around this situation w/ serializable isolation. * Merge polaris-service-common into polaris-runtime-service (apache#2233) * JdbcMetaStoreManagerFactory determines schemaVersion once per realm (apache#2217) otherwise every call to `MetaStoreManagerFactory.getOrCreateSession` was running the query. * Last merged commit af69d9f --------- Co-authored-by: Dmitri Bourlatchkov <dmitri.bourlatchkov@gmail.com> Co-authored-by: Christopher Lambert <xn137@gmx.de> Co-authored-by: Mend Renovate <bot@renovateapp.com> Co-authored-by: Alexandre Dutra <adutra@apache.org>
1 parent af69dfb commit 4741fc6

File tree

353 files changed

+1790
-2319
lines changed

Some content is hidden

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

353 files changed

+1790
-2319
lines changed

.github/actions/ci-incr-build-cache-prepare/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runs:
4545
fi
4646
4747
- name: Gradle / Setup
48-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4
48+
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
4949
with:
5050
cache-read-only: ${{ inputs.cache-read-only }}
5151
validate-wrappers: false

.github/workflows/check-md-link.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ jobs:
4343
with:
4444
use-quiet-mode: 'yes'
4545
config-file: '.github/workflows/check-md-link-config.json'
46-
folder-path: 'regtests, .github, build-logic, polaris-core, service, runtime, persistence, spec, getting-started, helm'
46+
folder-path: 'regtests, .github, build-logic, polaris-core, runtime, persistence, spec, getting-started, helm'
4747
file-path: 'CHAT_BYLAWS.md, CODE_OF_CONDUCT.md, CONTRIBUTING.md, README.md, SECURITY.md'

.github/workflows/gradle.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
java-version: '21'
4848
distribution: 'temurin'
4949
- name: Setup Gradle
50-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4
50+
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
5151
with:
5252
validate-wrappers: false
5353
- name: Prepare Gradle build cache
@@ -87,7 +87,7 @@ jobs:
8787
java-version: '21'
8888
distribution: 'temurin'
8989
- name: Setup Gradle
90-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4
90+
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
9191
with:
9292
validate-wrappers: false
9393
- name: Prepare Gradle build cache
@@ -124,7 +124,7 @@ jobs:
124124
java-version: '21'
125125
distribution: 'temurin'
126126
- name: Setup Gradle
127-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4
127+
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
128128
with:
129129
validate-wrappers: false
130130
- name: Prepare Gradle build cache
@@ -161,7 +161,7 @@ jobs:
161161
java-version: '21'
162162
distribution: 'temurin'
163163
- name: Setup Gradle
164-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4
164+
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
165165
with:
166166
validate-wrappers: false
167167
- name: Collect partial Gradle build caches

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
java-version: '21'
5454
distribution: 'temurin'
5555
- name: Setup Gradle
56-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4
56+
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
5757
with:
5858
validate-wrappers: false
5959
- name: Publish SNAPSHOTs to Apache Nexus Repository

.github/workflows/regtest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
distribution: 'temurin'
4242

4343
- name: Setup Gradle
44-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4
44+
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
4545
with:
4646
validate-wrappers: false
4747

.github/workflows/spark_client_regtests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
distribution: 'temurin'
4242

4343
- name: Setup Gradle
44-
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4
44+
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4
4545
with:
4646
validate-wrappers: false
4747

LICENSE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,11 @@ This product includes code from Apache Iceberg.
218218
* spec/iceberg-rest-catalog-open-api.yaml
219219
* spec/polaris-catalog-apis/oauth-tokens-api.yaml
220220
* integration-tests/src/main/java/org/apache/polaris/service/it/test/PolarisRestCatalogIntegrationBase.java
221-
* 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
221+
* runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalog.java
222+
* runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/CatalogHandlerUtils.java
223223
* plugins/spark/v3.5/spark/src/main/java/org/apache/polaris/spark/PolarisRESTCatalog.java
224224
* plugins/spark/v3.5/spark/src/main/java/org/apache/polaris/spark/SparkCatalog.java
225-
* service/common/src/main/java/org/apache/polaris/service/catalog/common/LocationUtils.java
225+
* runtime/service/src/main/java/org/apache/polaris/service/catalog/common/LocationUtils.java
226226

227227
Copyright: Copyright 2017-2025 The Apache Software Foundation
228228
Home page: https://iceberg.apache.org

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ Apache Polaris is organized into the following modules:
5151
- `polaris-api-management-model` - The Polaris management model
5252
- `polaris-api-management-service` - The Polaris management service
5353
- `polaris-api-iceberg-service` - The Iceberg REST service
54-
- Service modules:
55-
- `polaris-service-common` - The main components of the Polaris server
5654
- Runtime modules:
5755
- `polaris-runtime-service` - The runtime components of the Polaris server
5856
- `polaris-runtime-defaults` - The runtime configuration defaults

api/iceberg-service/build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ val generatedOpenApiSrcDir = project.layout.buildDirectory.dir("generated-openap
6363
openApiGenerate {
6464
// The OpenAPI generator does NOT resolve relative paths correctly against the Gradle project
6565
// directory
66-
inputSpec = specsDir.file("polaris-catalog-service.yaml").asFile.absolutePath
66+
inputSpec = provider { specsDir.file("polaris-catalog-service.yaml").asFile.absolutePath }
6767
generatorName = "jaxrs-resteasy"
68-
outputDir = generatedDir.get().asFile.absolutePath
68+
outputDir = provider { generatedDir.get().asFile.absolutePath }
6969
apiPackage = "org.apache.polaris.service.catalog.api"
70-
ignoreFileOverride = rootDir.file(".openapi-generator-ignore").asFile.absolutePath
71-
removeOperationIdPrefix = true
72-
templateDir = templatesDir.asFile.absolutePath
70+
ignoreFileOverride.set(provider { rootDir.file(".openapi-generator-ignore").asFile.absolutePath })
71+
templateDir.set(provider { templatesDir.asFile.absolutePath })
72+
removeOperationIdPrefix.set(true)
7373
globalProperties.put("apis", "CatalogApi,ConfigurationApi,OAuth2Api")
7474
globalProperties.put("models", "false")
7575
globalProperties.put("apiDocs", "false")

api/management-model/build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ val generatedOpenApiSrcDir = project.layout.buildDirectory.dir("generated-openap
5050
openApiGenerate {
5151
// The OpenAPI generator does NOT resolve relative paths correctly against the Gradle project
5252
// directory
53-
inputSpec = specsDir.file("polaris-management-service.yml").asFile.absolutePath
53+
inputSpec = provider { specsDir.file("polaris-management-service.yml").asFile.absolutePath }
5454
generatorName = "jaxrs-resteasy"
55-
outputDir = generatedDir.get().asFile.absolutePath
55+
outputDir = provider { generatedDir.get().asFile.absolutePath }
5656
modelPackage = "org.apache.polaris.core.admin.model"
57-
ignoreFileOverride = rootDir.file(".openapi-generator-ignore").asFile.absolutePath
58-
removeOperationIdPrefix = true
59-
templateDir = templatesDir.asFile.absolutePath
57+
ignoreFileOverride.set(provider { rootDir.file(".openapi-generator-ignore").asFile.absolutePath })
58+
removeOperationIdPrefix.set(true)
59+
templateDir.set(provider { templatesDir.asFile.absolutePath })
6060
globalProperties.put("apis", "false")
6161
globalProperties.put("models", "")
6262
globalProperties.put("apiDocs", "false")

0 commit comments

Comments
 (0)