You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "talatuyarer (via GitHub)" <gi...@apache.org> on 2025/10/02 10:15:45 UTC
[PR] [Catalog] REST Compatibility Kit Runner [iceberg]
talatuyarer opened a new pull request, #14235:
URL: https://github.com/apache/iceberg/pull/14235
Apache Iceberg provides a comprehensive REST Compatibility Kit (RCK) to validate REST catalog implementations against the full specification.
This PR introduces `rest-ckit-runner.sh` script that dramatically simplifies the process of evaluating REST catalog implementations against the Apache Iceberg REST Compatibility Kit (RCK).
Users can now evaluate any REST catalog with a single command:
```shell
./rest-ckit-runner.sh --iceberg.rest.catalog.uri=https://your-catalog.com
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] [Catalog] REST Compatibility Kit Runner [iceberg]
Posted by "talatuyarer (via GitHub)" <gi...@apache.org>.
talatuyarer commented on PR #14235:
URL: https://github.com/apache/iceberg/pull/14235#issuecomment-3365005644
@nastra When you have a sclae can you review this ? Basically this makes RCK visible for users. I heard so many comments about lack of feature support from Rest Catalog provider at SF meetup. I decided to create a shell script which can easy run and people can test their rest catalog provider based on capabilities.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] [Catalog] REST Compatibility Kit Runner [iceberg]
Posted by "manuzhang (via GitHub)" <gi...@apache.org>.
manuzhang commented on code in PR #14235:
URL: https://github.com/apache/iceberg/pull/14235#discussion_r2422576112
##########
open-api/rest-ckit-runner.sh:
##########
@@ -0,0 +1,621 @@
+#!/bin/bash
+#
+# 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.
+#
+
+# Apache Iceberg REST Compatibility Kit Test Runner
+# Production-ready script for running REST catalog compatibility tests
+
+set -euo pipefail # Exit on error, undefined vars, pipe failures
+IFS=$'\n\t' # Secure Internal Field Separator
+
+# Script configuration
+readonly SCRIPT_NAME="$(basename "$0")"
+readonly SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+readonly LOG_FILE="${SCRIPT_DIR}/rest-ckit-runner.log"
+
+# Cache configuration
+readonly ICEBERG_CACHE_DIR="${HOME}/.iceberg"
+readonly CACHE_DIR="${ICEBERG_CACHE_DIR}/cache"
+readonly CACHE_MAVEN_DIR="${ICEBERG_CACHE_DIR}/maven"
+
+# Default versions - can be overridden via environment variables
+readonly JUNIT_VER="${JUNIT_VER:-1.13.4}"
+readonly ICEBERG_VERSION="${ICEBERG_VERSION:-1.10.0}"
+readonly MAVEN_WRAPPER_VERSION="${MAVEN_WRAPPER_VERSION:-3.3.4}"
+
+# Runtime configuration
+VERBOSE=false
+CLEANUP_ON_EXIT=true
+JAVA_OPTS="${JAVA_OPTS:-}"
+WORK_DIR="${SCRIPT_DIR}"
+CLEAR_CACHE=false
+
+# Color codes for output
+readonly RED='\033[0;31m'
+readonly GREEN='\033[0;32m'
+readonly YELLOW='\033[1;33m'
+readonly BLUE='\033[0;34m'
+readonly NC='\033[0m' # No Color
+
+# Logging functions
+log() {
+ local level="$1"
Review Comment:
nit: we use two-space indent.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] [Catalog] REST Compatibility Kit Runner [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #14235:
URL: https://github.com/apache/iceberg/pull/14235#issuecomment-3514446932
This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] [Catalog] REST Compatibility Kit Runner [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #14235:
URL: https://github.com/apache/iceberg/pull/14235#issuecomment-3677067202
This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] [Catalog] REST Compatibility Kit Runner [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #14235:
URL: https://github.com/apache/iceberg/pull/14235#issuecomment-3648579106
This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] [Catalog] REST Compatibility Kit Runner [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #14235: [Catalog] REST Compatibility Kit Runner
URL: https://github.com/apache/iceberg/pull/14235
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org