This is an automated email from the ASF dual-hosted git repository. jackie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push: new 5fc9bf60bd Fix URI construction so that AddSchema command line tool works when override flag is set to true (#13320) 5fc9bf60bd is described below commit 5fc9bf60bdc1c63e0204627a625dce6e1be4b6d4 Author: Suyash Patel <suyashpate...@gmail.com> AuthorDate: Mon Jun 10 12:05:41 2024 -0700 Fix URI construction so that AddSchema command line tool works when override flag is set to true (#13320) --- .../java/org/apache/pinot/tools/admin/command/AddSchemaCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/AddSchemaCommand.java b/pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/AddSchemaCommand.java index b777646c45..10c7e92e7b 100644 --- a/pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/AddSchemaCommand.java +++ b/pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/AddSchemaCommand.java @@ -177,7 +177,7 @@ public class AddSchemaCommand extends AbstractBaseAdminCommand implements Comman try (FileUploadDownloadClient fileUploadDownloadClient = new FileUploadDownloadClient()) { URI schemaURI = FileUploadDownloadClient .getUploadSchemaURI(_controllerProtocol, _controllerHost, Integer.parseInt(_controllerPort)); - schemaURI = new URI(schemaURI + "?override=" + _override + "?force=" + _force); + schemaURI = new URI(schemaURI + "?override=" + _override + "&force=" + _force); fileUploadDownloadClient.addSchema(schemaURI, schema.getSchemaName(), schemaFile, AuthProviderUtils.makeAuthHeaders( AuthProviderUtils.makeAuthProvider(_authProvider, _authTokenUrl, _authToken, --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org