Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:base"],

"labels": ["dependencies"],

packageRules: [
// Check for updates, merge automatically
{
matchManagers: ["maven", "gradle", "gradle-wrapper"],
matchUpdateTypes: ["minor", "patch"],
automerge: true,
platformAutomerge: true,
},

// Special rule for Iceberg and related artifacts
{
matchManagers: ["maven", "gradle"],
matchUpdateTypes: ["minor", "patch"],
matchPackagePatterns: [
"^org[.]apache[.]hadoop:hadoop-aws$",
"^org[.]apache[.]hadoop:hadoop-common$",
"^org[.]apache[.]hive:.*$",
"^org[.]apache[.]iceberg:.*",
"^software[.]amazon[.]awssdk:.*",
],
automerge: false,
prBodyNotes: [":warning: Only update org.apache.iceberg with org.apache.hadoop + software.amazon.awssdk:warning:"]
},

// Check for major updates, but do not merge automatically
{
matchManagers: ["maven", "gradle", "gradle-wrapper"],
matchUpdateTypes: ["major"],
automerge: false,
},
],

// Max 50 PRs in total, 10 per hour
prConcurrentLimit: 50,
prHourlyLimit: 10,
}
67 changes: 67 additions & 0 deletions .github/workflows/iceberg-catalog-migrator-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
#
# 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.
#

name: Iceberg Catalog Migrator CI

on:
push:
branches: [ main ]
paths:
- 'iceberg-catalog-migrator/**'
pull_request:
paths:
- 'iceberg-catalog-migrator/**'

jobs:
java:
name: Java/Gradle
runs-on: ubuntu-24.04
strategy:
max-parallel: 4
matrix:
java-version: [21, 23]
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'

- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
21
${{ matrix.java-version != '21' && matrix.java-version || '' }}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Build & Check
run: |
cd iceberg-catalog-migrator
./gradlew --rerun-tasks assemble ${{ env.ADDITIONAL_GRADLE_OPTS }} check publishToMavenLocal

- name: Capture test results
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-results
path: |
**/build/reports/*
**/build/test-results/*
74 changes: 74 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@

### Java ###
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

#misc
target/
dependency-reduced-pom.xml
*.patch
*.DS_Store
.DS_Store

#intellij
*.iml
.idea
*.ipr
*.iws

# vscode
.vscode

# node
node_modules/
ui/src/generated/

# Eclipse IDE
.classpath
.factorypath
.project
.settings
.checkstyle
out/

# gradle
.gradle/
build/
gradle/wrapper/gradle-wrapper.jar
version.txt

# Python venv
venv/

# Maven flatten plugin
.flattened-pom.xml

# Site
site/site

# Ignore Gradle project-specific cache directory
.gradle

# Ignore Gradle build output directory
build
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!--
- 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.
-->

This repo has the tools developed by [Apache polaris community](https://polaris.apache.org/)

Read more about the following tools:

1. Benchmarks: [README.md](/benchmarks/README.md)
2. Iceberg catalog migrator: [README.md](/iceberg-catalog-migrator/README.md)
30 changes: 30 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!--
- 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.
-->

# Reporting Security Issues

The Apache Iceberg Project uses the standard process outlined by the [Apache
Security Team](https://www.apache.org/security/) for reporting vulnerabilities.
Note that vulnerabilities should not be publicly disclosed until the project has
responded.

To report a possible security vulnerability, please email <a href="mailto:[email protected]">[email protected]</a>.


# Verifying Signed Releases

Please refer to the instructions on the [Release Verification](https://www.apache.org/info/verification.html) page.
Loading