Skip to content

Commit ed906dd

Browse files
committed
Merge remote-tracking branch 'apache/main' into trivy-cve-scan-kafka-connect
2 parents 4720573 + 893528c commit ed906dd

1,212 files changed

Lines changed: 48939 additions & 17772 deletions

File tree

Some content is hidden

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

.asf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#
1919

2020
# The format of this file is documented at
21-
# https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
21+
# https://github.com/apache/infrastructure-asfyaml/blob/main/README.md
2222

2323
github:
2424
description: "Apache Iceberg"

.baseline/checkstyle/checkstyle-suppressions.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@
5353
<suppress files="org.apache.iceberg.flink.maintenance.api.ZkLockFactory" id="BanShadedClasses"/>
5454
<suppress files="org.apache.iceberg.flink.maintenance.api.TestZkLockFactory" id="BanShadedClasses"/>
5555

56-
<!-- Suppress checks for CometColumnReader -->
57-
<suppress files="org.apache.iceberg.spark.data.vectorized.CometColumnReader" checks="IllegalImport"/>
58-
<!-- Suppress checks for CometDeletedColumnVector -->
59-
<suppress files="org.apache.iceberg.spark.data.vectorized.CometDeletedColumnVector" checks="IllegalImport"/>
60-
6156
<!-- Suppress TestClassNamingConvention for main source files -->
6257
<suppress files=".*[/\\]src[/\\]main[/\\].*" id="TestClassNamingConvention" />
6358
</suppressions>

.baseline/checkstyle/checkstyle.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,11 @@
450450
<property name="format" value="^\s*(public\s+)?(abstract\s+)?class\s+[A-Za-z0-9]*Test(\s|&lt;)"/>
451451
<property name="message" value="Test class names should start with 'Test' prefix, not end with 'Test' suffix. Example: 'TestNewFeature' instead of 'NewFeatureTest'"/>
452452
</module>
453+
<module name="RegexpSinglelineJava">
454+
<property name="ignoreComments" value="true"/>
455+
<property name="format" value="String::to(Lower|Upper)Case"/>
456+
<property name="message" value="Use toLowerCase(Locale)/toUpperCase(Locale) instead of no-arg versions or method references. Prefer Locale.ROOT for locale-insensitive operations."/>
457+
</module>
453458
<module name="IllegalToken">
454459
<property name="tokens" value="LITERAL_ASSERT"/>
455460
</module>

.github/ISSUE_TEMPLATE/iceberg_question.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ body:
2525
- type: markdown
2626
attributes:
2727
value: |
28-
Feel free to ask your question on [Slack](https://join.slack.com/t/apache-iceberg/shared_invite/zt-3kclosz6r-3heAW3d~_PHefmN2A_~cAg) as well.
28+
Feel free to ask your question on [Slack](https://join.slack.com/t/apache-iceberg/shared_invite/zt-3tkrk9gpf-1eFZ8ozS2In0~zM_BeZiRQ) as well.
2929
3030
Do **NOT** share any sensitive information like passwords, security tokens, private URLs etc.
3131
- type: textarea

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,16 @@ updates:
2424
schedule:
2525
interval: "weekly"
2626
day: "sunday"
27+
cooldown:
28+
default-days: 7
2729
- package-ecosystem: "gradle"
2830
directory: "/"
2931
schedule:
3032
interval: "weekly"
3133
day: "sunday"
3234
open-pull-requests-limit: 50
35+
cooldown:
36+
default-days: 7
3337
ignore:
3438
- dependency-name: "*"
3539
update-types: ["version-update:semver-major"]
@@ -39,6 +43,8 @@ updates:
3943
interval: "weekly"
4044
day: "sunday"
4145
open-pull-requests-limit: 5
46+
cooldown:
47+
default-days: 7
4248
ignore:
4349
- dependency-name: "*"
4450
update-types: ["version-update:semver-major"]

.github/workflows/api-binary-compatibility.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ on:
3535
- 'api/**'
3636
- '.palantir/revapi.yml'
3737

38+
permissions:
39+
contents: read
40+
3841
concurrency:
3942
group: ${{ github.workflow }}-${{ github.ref }}
4043
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
@@ -43,29 +46,24 @@ jobs:
4346
revapi:
4447
runs-on: ubuntu-24.04
4548
steps:
46-
- uses: actions/checkout@v6
49+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4750
with:
4851
# fetch-depth of zero ensures that the tags are pulled in and we're not in a detached HEAD state
4952
# revapi depends on the tags, specifically the tag from git describe, to find the relevant override
5053
# in the .palantir/revapi.yml file
5154
#
5255
# See https://github.com/actions/checkout/issues/124
5356
fetch-depth: 0
54-
- uses: actions/setup-java@v5
57+
persist-credentials: false
58+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
5559
with:
5660
distribution: zulu
5761
java-version: 17
58-
- uses: actions/cache@v5
59-
with:
60-
path: |
61-
~/.gradle/caches
62-
~/.gradle/wrapper
63-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
64-
restore-keys: ${{ runner.os }}-gradle-
62+
- uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5 # zizmor: ignore[cache-poisoning] -- cache writes are restricted to the default branch by setup-gradle
6563
- run: |
6664
echo "Using the old version tag, as per git describe, of $(git describe)";
6765
- run: ./gradlew revapi --rerun-tasks
68-
- uses: actions/upload-artifact@v6
66+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6967
if: failure()
7068
with:
7169
name: test logs
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#
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
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
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.
18+
#
19+
20+
# Verifies all GitHub Actions refs are on the ASF allowlist.
21+
# Actions not on the allowlist silently fail with "Startup failure" — no logs,
22+
# no notifications, and PRs may appear green because no checks ran.
23+
# See https://github.com/apache/infrastructure-actions/issues/574
24+
name: "ASF Allowlist Check"
25+
26+
on:
27+
pull_request:
28+
paths:
29+
- ".github/**"
30+
push:
31+
branches:
32+
- main
33+
paths:
34+
- ".github/**"
35+
36+
permissions:
37+
contents: read
38+
39+
jobs:
40+
asf-allowlist-check:
41+
runs-on: ubuntu-24.04
42+
steps:
43+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
44+
with:
45+
persist-credentials: false
46+
# Intentionally unpinned to always use the latest allowlist from the ASF.
47+
- uses: apache/infrastructure-actions/allowlist-check@main # zizmor: ignore[unpinned-uses]

.github/workflows/codeql.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
#
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
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
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.
18+
#
19+
20+
name: "CodeQL"
21+
22+
on:
23+
push:
24+
branches: [ "main" ]
25+
pull_request:
26+
branches: [ "main" ]
27+
schedule:
28+
- cron: '16 4 * * 1'
29+
30+
permissions:
31+
contents: read
32+
33+
jobs:
34+
analyze:
35+
name: Analyze Actions
36+
runs-on: ubuntu-slim
37+
permissions:
38+
contents: read
39+
security-events: write
40+
packages: read
41+
42+
steps:
43+
- name: Checkout repository
44+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
45+
with:
46+
persist-credentials: false
47+
48+
- name: Initialize CodeQL
49+
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4
50+
with:
51+
languages: actions
52+
53+
- name: Perform CodeQL Analysis
54+
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4
55+
with:
56+
category: "/language:actions"

.github/workflows/delta-conversion-ci.yml

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ on:
6363
- '**/NOTICE'
6464
- 'doap.rdf'
6565

66+
permissions:
67+
contents: read
68+
6669
concurrency:
6770
group: ${{ github.workflow }}-${{ github.ref }}
6871
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
@@ -77,21 +80,17 @@ jobs:
7780
env:
7881
SPARK_LOCAL_IP: localhost
7982
steps:
80-
- uses: actions/checkout@v6
81-
- uses: actions/setup-java@v5
83+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
84+
with:
85+
persist-credentials: false
86+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
8287
with:
8388
distribution: zulu
8489
java-version: ${{ matrix.jvm }}
85-
- uses: actions/cache@v5
86-
with:
87-
path: |
88-
~/.gradle/caches
89-
~/.gradle/wrapper
90-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
91-
restore-keys: ${{ runner.os }}-gradle-
90+
- uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5 # zizmor: ignore[cache-poisoning] -- cache writes are restricted to the default branch by setup-gradle
9291
- run: echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
9392
- run: ./gradlew -DsparkVersions=3.5 -DscalaVersion=2.12 -DkafkaVersions= -DflinkVersions= :iceberg-delta-lake:check -Pquick=true -x javadoc
94-
- uses: actions/upload-artifact@v6
93+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
9594
if: failure()
9695
with:
9796
name: test logs
@@ -107,21 +106,17 @@ jobs:
107106
env:
108107
SPARK_LOCAL_IP: localhost
109108
steps:
110-
- uses: actions/checkout@v6
111-
- uses: actions/setup-java@v5
109+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
110+
with:
111+
persist-credentials: false
112+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
112113
with:
113114
distribution: zulu
114115
java-version: ${{ matrix.jvm }}
115-
- uses: actions/cache@v5
116-
with:
117-
path: |
118-
~/.gradle/caches
119-
~/.gradle/wrapper
120-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
121-
restore-keys: ${{ runner.os }}-gradle-
116+
- uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5 # zizmor: ignore[cache-poisoning] -- cache writes are restricted to the default branch by setup-gradle
122117
- run: echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
123118
- run: ./gradlew -DsparkVersions=3.5 -DscalaVersion=2.13 -DkafkaVersions= -DflinkVersions= :iceberg-delta-lake:check -Pquick=true -x javadoc
124-
- uses: actions/upload-artifact@v6
119+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
125120
if: failure()
126121
with:
127122
name: test logs

.github/workflows/docs-ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ on:
2525
- format/**
2626
- .github/workflows/docs-ci.yml
2727

28+
permissions:
29+
contents: read
30+
2831
jobs:
2932
build-docs:
3033
runs-on: ${{ matrix.os }}
@@ -33,8 +36,10 @@ jobs:
3336
matrix:
3437
os: [ubuntu-latest, macos-latest]
3538
steps:
36-
- uses: actions/checkout@v6
37-
- uses: actions/setup-python@v6
39+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
40+
with:
41+
persist-credentials: false
42+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
3843
with:
3944
python-version: 3.x
4045
- name: Build Iceberg documentation

0 commit comments

Comments
 (0)