-
Notifications
You must be signed in to change notification settings - Fork 27
Initial commit for Iceberg catalog migrator #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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, | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/) | ||
ajantha-bhat marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| Read more about the following tools: | ||
|
|
||
| 1. Benchmarks: [README.md](/benchmarks/README.md) | ||
| 2. Iceberg catalog migrator: [README.md](/iceberg-catalog-migrator/README.md) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.