You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "Indhumathi27 (via GitHub)" <gi...@apache.org> on 2025/09/26 08:39:17 UTC

Re: [PR] [WIP] HIVE-29073: Overlay modified session level metaconf to new hmsclient connection [hive]

Indhumathi27 commented on code in PR #6042:
URL: https://github.com/apache/hive/pull/6042#discussion_r2381400199


##########
ql/src/java/org/apache/hadoop/hive/ql/processors/SetProcessor.java:
##########
@@ -272,10 +272,25 @@ public Map<String, String> getHiveVariable() {
     }
     if (register) {
       ss.getOverriddenConfigurations().put(key, value);
+
+      if (metaConfOverlayList.contains(key)) {
+        try (Hive hive = Hive.get(ss.getConf())) {

Review Comment:
   suggest using **needsRefresh** with get() API here instead.



-- 
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: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org