Skip to content

Commit 613a2fa

Browse files
committed
Merge remote-tracking branch 'apache/main' into rxing-catalog-federation-sigv4-part-3
2 parents 0e7be85 + e6796f7 commit 613a2fa

File tree

103 files changed

+2298
-1897
lines changed

Some content is hidden

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

103 files changed

+2298
-1897
lines changed

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

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,27 @@ inputs:
3232
runs:
3333
using: "composite"
3434
steps:
35+
- name: Configure Gradle cache retention settings
36+
# Without these settings, the Gradle Setup action will evict effectively all "restored incremental" entries,
37+
# as it will remove all cache entries created before the start-time of the "Store Gradle Cache" job.
38+
# The total size of GitHub caches for each repository is limited to 10GB, which means that we have to use
39+
# more aggressive retention settings to keep the size of the Gradle cache stored in GitHub at an appropriate
40+
# size.
41+
shell: bash
42+
run: |
43+
mkdir -p ~/.gradle/init.d
44+
cat > ~/.gradle/init.d/cache-settings.gradle.kts <<!
45+
beforeSettings {
46+
caches {
47+
releasedWrappers.setRemoveUnusedEntriesAfterDays(5)
48+
snapshotWrappers.setRemoveUnusedEntriesAfterDays(1)
49+
downloadedResources.setRemoveUnusedEntriesAfterDays(2)
50+
createdResources.setRemoveUnusedEntriesAfterDays(5)
51+
buildCache.setRemoveUnusedEntriesAfterDays(5)
52+
}
53+
}
54+
!
55+
3556
- name: Prep env
3657
shell: bash
3758
run: |
@@ -71,12 +92,12 @@ runs:
7192
if [[ -d ~/downloaded-artifacts/ ]] ; then
7293
find ~/downloaded-artifacts/ -type f -name "ci-gradle-caches-*-${{ inputs.java-version }}.tar" | while read arch ; do
7394
echo "Adding archive content from $arch ..."
74-
(cd ~/.gradle/caches/ ; tar xf $arch)
95+
(cd ~/.gradle/caches/ ; tar xf $arch --atime-preserve)
7596
done
7697
else
7798
echo "No previous build cache artifacts downloaded."
7899
fi
79-
100+
80101
date +%s > ~/caches-prepared-at-epoch
81102
82103
echo "::endgroup::"

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ runs:
4747
-path './[0-9]*/kotlin-dsl/*' -or \
4848
-path './jars-*/*' -or \
4949
-path './modules-*/files-*/*' -or \
50-
-path './modules-*/files-*/*' -or \
5150
-path './build-cache-*/*' \
5251
')' | grep -v '[.]lock$' > ~/ci-gradle-caches-diff || true
5352
echo "Identified $(wc -l < ~/ci-gradle-caches-diff) changed/added files in caches/"

.github/workflows/gradle.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,6 @@ jobs:
160160
uses: ./.github/actions/ci-incr-build-cache-prepare
161161
with:
162162
cache-read-only: false
163-
- name: Trigger Gradle home cleanup
164-
env:
165-
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
166-
run: ./gradlew --no-daemon :showVersion
167163

168-
# Note: the "Post Gradle invocation" archives the updated build cache.
164+
# Note: the "Post Collect partial Gradle build caches"-step cleans up stale cache entries
165+
# and archives the updated build cache.

CHANGELOG.md

Lines changed: 51 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -29,82 +29,74 @@ request adding CHANGELOG notes for breaking (!) changes and possibly other secti
2929

3030
### Highlights
3131

32-
- **HMS Federation Support**: Added support for Hive Metastore (HMS) federation, enabling integration with existing Hive metastores.
33-
34-
- **Modularized Federation**: Introduced modularized federation architecture to support multiple catalog types and improve extensibility.
35-
36-
- **External Authentication**: Added comprehensive support for external identity providers including Keycloak integration and Helm chart configuration options.
37-
38-
- **Python Client Distribution**: The Python client is now packaged and distributed as a proper Python package for easier installation and usage.
39-
40-
- **Catalog Federation CLI**: Extended the CLI with support for managing federated catalogs, making it easier to configure and operate catalog federation.
41-
42-
- **MinIO**: Added MinIO integration support with comprehensive getting started documentation.
43-
4432
### Upgrade Notes
4533

46-
### Breaking Changes
34+
- The EclipseLink Persistence implementation has been deprecated since 1.0.0 and will be completely removed
35+
in 1.3.0 or in 2.0.0 (whichever happens earlier).
4736

48-
- Helm chart: the default value of the `authentication.tokenBroker.secret.symmetricKey.secretKey` property has changed
49-
from `symmetric.pem` to `symmetric.key`.
37+
### Breaking Changes
5038

5139
### New Features
5240

53-
- Added Catalog configuration for S3 and STS endpoints. This also allows using non-AWS S3 implementations.
54-
The realm-level feature flag `ALLOW_SETTING_S3_ENDPOINTS` (default: true) may be used to disable this
55-
functionality.
56-
57-
- The `IMPLICIT` authentication type enables users to create federated catalogs without explicitly
58-
providing authentication parameters to Polaris. When the authentication type is set to `IMPLICIT`,
59-
the authentication parameters are picked from the environment or configuration files.
60-
61-
- The `DEFAULT_LOCATION_OBJECT_STORAGE_PREFIX_ENABLED` feature was added to support placing tables
62-
at locations that better optimize for object storage.
63-
64-
- The `LIST_PAGINATION_ENABLED` (default: false) feature flag can be used to enable pagination
65-
in the Iceberg REST Catalog API.
66-
67-
- The Helm chart now supports Pod Disruption Budgets (PDBs) for Polaris components. This allows users to define
68-
the minimum number of pods that must be available during voluntary disruptions, such as node maintenance.
69-
70-
- Feature configuration `PURGE_VIEW_METADATA_ON_DROP` was added to allow dropping views without purging their metadata files.
71-
72-
- Introduced S3 path-style access support for improved compatibility with S3-compatible storage systems.
73-
74-
- Enhanced Python client with integration tests and improved error handling.
75-
76-
- Introduced extensible pagination token implementation for better API performance.
77-
78-
- Added support for `s3a` scheme in addition to existing S3 schemes.
79-
80-
- Enhanced Helm chart with support for external authentication configuration and relational JDBC backend options.
81-
82-
- Added comprehensive diagnostics and monitoring capabilities throughout the system.
83-
84-
- Introduced bootstrap command options to specify custom schema files for database initialization.
85-
86-
- Added refresh credentials endpoint configuration to LoadTableResponse for AWS, Azure, and GCP. Enabling
87-
automatic storage credential refresh per table on the client side. Java client version >= 1.8.0 is required.
88-
The endpoint path is always returned when using vended credentials, but clients must enable the
89-
refresh-credentials flag for the desired storage provider.
90-
9141
- Added a Management API endpoint to reset principal credentials, controlled by the `ENABLE_CREDENTIAL_RESET` (default: true) feature flag.
9242

9343
### Changes
9444

95-
- Polaris Management API clients must be prepared to deal with new attributes in `AwsStorageConfigInfo` objects.
96-
97-
- S3 configuration property role-ARN is no longer mandatory.
98-
9945
### Deprecations
10046

101-
- The property `polaris.active-roles-provider.type` is deprecated for removal.
102-
- The `ActiveRolesProvider` interface is deprecated for removal.
47+
* The property `polaris.active-roles-provider.type` is deprecated and has no effect anymore.
10348

10449
### Fixes
10550

51+
* Fixed incorrect Azure expires at field for the credentials refresh response, leading to client failure via #2633
52+
10653
### Commits
10754

55+
## [1.1.0-incubating]
56+
Apache Polaris 1.1.0-incubating was released on September 19th, 2025.
57+
- **Highlights**
58+
- **HMS Federation Support**: Added support for Hive Metastore (HMS) federation, enabling integration with existing Hive metastores.
59+
- **Modularized Federation**: Introduced modularized federation architecture to support multiple catalog types and improve extensibility.
60+
- **External Authentication**: Added comprehensive support for external identity providers including Keycloak integration and Helm chart configuration options.
61+
- **Python Client Distribution**: The Python client is now packaged and distributed as a proper Python package for easier installation and usage.
62+
- **Catalog Federation CLI**: Extended the CLI with support for managing federated catalogs, making it easier to configure and operate catalog federation.
63+
- **MinIO**: Added MinIO integration support with comprehensive getting started documentation.
64+
- **New features**
65+
- Added Catalog configuration for S3 and STS endpoints. This also allows using non-AWS S3 implementations.
66+
- The realm-level feature flag `ALLOW_SETTING_S3_ENDPOINTS` (default: true) may be used to disable this
67+
functionality.
68+
- The `IMPLICIT` authentication type enables users to create federated catalogs without explicitly
69+
providing authentication parameters to Polaris. When the authentication type is set to `IMPLICIT`,
70+
the authentication parameters are picked from the environment or configuration files.
71+
- The `DEFAULT_LOCATION_OBJECT_STORAGE_PREFIX_ENABLED` feature was added to support placing tables
72+
at locations that better optimize for object storage.
73+
- The `LIST_PAGINATION_ENABLED` (default: false) feature flag can be used to enable pagination
74+
in the Iceberg REST Catalog API.
75+
- The Helm chart now supports Pod Disruption Budgets (PDBs) for Polaris components. This allows users to define
76+
the minimum number of pods that must be available during voluntary disruptions, such as node maintenance.
77+
- Feature configuration `PURGE_VIEW_METADATA_ON_DROP` was added to allow dropping views without purging their metadata files.
78+
- Introduced S3 path-style access support for improved compatibility with S3-compatible storage systems.
79+
- Enhanced Python client with integration tests and improved error handling.
80+
- Introduced extensible pagination token implementation for better API performance.
81+
- Added support for `s3a` scheme in addition to existing S3 schemes.
82+
- Enhanced Helm chart with support for external authentication configuration and relational JDBC backend options.
83+
- Added comprehensive diagnostics and monitoring capabilities throughout the system.
84+
- Introduced bootstrap command options to specify custom schema files for database initialization.
85+
- Added refresh credentials endpoint configuration to LoadTableResponse for AWS, Azure, and GCP. Enabling
86+
automatic storage credential refresh per table on the client side. Java client version >= 1.8.0 is required.
87+
The endpoint path is always returned when using vended credentials, but clients must enable the
88+
refresh-credentials flag for the desired storage provider.
89+
- Added a Management API endpoint to reset principal credentials, controlled by the `ENABLE_CREDENTIAL_RESET` (default: true) feature flag.
90+
- **Changes**
91+
- Polaris Management API clients must be prepared to deal with new attributes in `AwsStorageConfigInfo` objects.
92+
- S3 configuration property role-ARN is no longer mandatory.
93+
- **Breaking changes**
94+
- Helm chart: the default value of the `authentication.tokenBroker.secret.symmetricKey.secretKey` property has changed
95+
from `symmetric.pem` to `symmetric.key`.
96+
- **Deprecations**
97+
- The property `polaris.active-roles-provider.type` is deprecated for removal.
98+
- The `ActiveRolesProvider` interface is deprecated for removal.
99+
108100
## [1.0.1-incubating]
109101
Apache Polaris 1.0.1-incubating was released on August 16th, 2025. It’s a maintenance release on the 1.0.0 release fixing a couple of issues on the Helm Chart:
110102
- remove db-kind in Helm Chart

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -17,89 +17,4 @@
1717
under the License.
1818
-->
1919

20-
# Contributor Code of Conduct
21-
22-
This is a copy of the [Contributor Covenant v2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html). No changes have been made.
23-
24-
## Our Pledge
25-
26-
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
27-
28-
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
29-
30-
## Our Standards
31-
32-
Examples of behavior that contributes to a positive environment for our community include:
33-
34-
* Demonstrating empathy and kindness toward other people
35-
* Being respectful of differing opinions, viewpoints, and experiences
36-
* Giving and gracefully accepting constructive feedback
37-
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
38-
* Focusing on what is best not just for us as individuals, but for the overall community
39-
40-
Examples of unacceptable behavior include:
41-
42-
* The use of sexualized language or imagery, and sexual attention or advances of any kind
43-
* Trolling, insulting or derogatory comments, and personal or political attacks
44-
* Public or private harassment
45-
* Publishing others' private information, such as a physical or email address, without their explicit permission
46-
* Other conduct which could reasonably be considered inappropriate in a professional setting
47-
48-
## Enforcement Responsibilities
49-
50-
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
51-
52-
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
53-
54-
## Scope
55-
56-
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces.
57-
Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
58-
59-
## Enforcement
60-
61-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at <[email protected]>.
62-
All complaints will be reviewed and investigated promptly and fairly.
63-
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
64-
65-
## Enforcement Guidelines
66-
67-
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
68-
69-
### 1. Correction
70-
71-
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
72-
73-
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
74-
75-
### 2. Warning
76-
77-
**Community Impact**: A violation through a single incident or series of actions.
78-
79-
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
80-
81-
### 3. Temporary Ban
82-
83-
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
84-
85-
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
86-
87-
### 4. Permanent Ban
88-
89-
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
90-
91-
**Consequence**: A permanent ban from any sort of public interaction within the community.
92-
93-
## Attribution
94-
95-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
96-
97-
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
98-
99-
For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
100-
101-
[homepage]: https://www.contributor-covenant.org
102-
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
103-
[Mozilla CoC]: https://github.com/mozilla/diversity
104-
[FAQ]: https://www.contributor-covenant.org/faq
105-
[translations]: https://www.contributor-covenant.org/translations
20+
We as a community follow [The ASF Code of Conduct](https://www.apache.org/foundation/policies/conduct).

0 commit comments

Comments
 (0)