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

xiangfu 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 b514149673a fix pinot-driver brokercache permission (#17092)
b514149673a is described below

commit b514149673a1d388c6ecdeb79c8a957875470a02
Author: Hongkun Xu <[email protected]>
AuthorDate: Tue Oct 28 11:44:23 2025 +0800

    fix pinot-driver brokercache permission (#17092)
    
    Signed-off-by: Hongkun Xu <[email protected]>
---
 .../src/main/java/org/apache/pinot/client/utils/DriverUtils.java        | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/pinot-clients/pinot-jdbc-client/src/main/java/org/apache/pinot/client/utils/DriverUtils.java
 
b/pinot-clients/pinot-jdbc-client/src/main/java/org/apache/pinot/client/utils/DriverUtils.java
index d073ab59866..f560c1a9518 100644
--- 
a/pinot-clients/pinot-jdbc-client/src/main/java/org/apache/pinot/client/utils/DriverUtils.java
+++ 
b/pinot-clients/pinot-jdbc-client/src/main/java/org/apache/pinot/client/utils/DriverUtils.java
@@ -58,6 +58,7 @@ public class DriverUtils {
   public static final String USER_PROPERTY = "user";
   public static final String PASSWORD_PROPERTY = "password";
   public static final String AUTH_HEADER = "Authorization";
+  public static final String AUTH_HEADER_CONFIG_KEY = "headers.Authorization";
 
   private DriverUtils() {
   }
@@ -80,6 +81,7 @@ public class DriverUtils {
       }
       String authToken = BasicAuthUtils.toBasicAuthToken(username, password);
       headers.put(AUTH_HEADER, authToken);
+      info.setProperty(AUTH_HEADER_CONFIG_KEY, authToken);
     }
     for (Object key : info.keySet()) {
       if (key.toString().equalsIgnoreCase(AUTH_HEADER)) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to