You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by di...@apache.org on 2026/06/18 21:46:44 UTC

(polaris) branch main updated: Fix Bootstrap command description (#4815)

This is an automated email from the ASF dual-hosted git repository.

dimas-b pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new b74315b468 Fix Bootstrap command description (#4815)
b74315b468 is described below

commit b74315b4687479f9ea1c9270de62084b6ae2e1a2
Author: Ayush Saxena <ay...@apache.org>
AuthorDate: Fri Jun 19 03:16:39 2026 +0530

    Fix Bootstrap command description (#4815)
    
    Clarify the handling of the "latest" schema version.
---
 .../src/main/java/org/apache/polaris/admintool/BootstrapCommand.java | 3 ++-
 site/content/in-dev/unreleased/admin-tool.md                         | 5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/runtime/admin/src/main/java/org/apache/polaris/admintool/BootstrapCommand.java b/runtime/admin/src/main/java/org/apache/polaris/admintool/BootstrapCommand.java
index caa38015e4..ea0d7deb24 100644
--- a/runtime/admin/src/main/java/org/apache/polaris/admintool/BootstrapCommand.java
+++ b/runtime/admin/src/main/java/org/apache/polaris/admintool/BootstrapCommand.java
@@ -91,7 +91,8 @@ public class BootstrapCommand extends BaseMetaStoreCommand {
       @CommandLine.Option(
           names = {"-v", "--schema-version"},
           paramLabel = "<schema version>",
-          description = "The version of the schema to load in [1, 2, 3, LATEST].")
+          description =
+              "The version of the schema to load. The set of valid values depends on the backend type. If omitted the latest schema version will be used.")
       Integer schemaVersion;
     }
   }
diff --git a/site/content/in-dev/unreleased/admin-tool.md b/site/content/in-dev/unreleased/admin-tool.md
index 4a79fd1417..e9c026326d 100644
--- a/site/content/in-dev/unreleased/admin-tool.md
+++ b/site/content/in-dev/unreleased/admin-tool.md
@@ -109,8 +109,9 @@ Usage: polaris-admin-tool.jar bootstrap [-hV] [-v=<schema version>]
 Bootstraps realms and root principal credentials.
   -h, --help                Show this help message and exit.
   -v, --schema-version=<schema version>
-                            The version of the schema to load in [1, 2, 3,
-                              LATEST].
+                            The version of the schema to load. The set of valid
+                              values depends on the backend type. If omitted the
+                              latest schema version will be used.
   -V, --version             Print version information and exit.
 Standard Input Options:
   -c, --credential=<realm,clientId,clientSecret>