Aggarwal-Raghav commented on PR #5943:
URL: https://github.com/apache/hive/pull/5943#issuecomment-3066020350

   The reason why session level 
`hive.metastore.partition.name.whitelist.pattern` is because of this line: 
https://github.com/apache/hive/blob/f2fdea058f0124153514d40fa827e91c730c0e51/ql/src/java/org/apache/hadoop/hive/ql/plan/DynamicPartitionCtx.java#L129
   
   If we are using `hive.metastore.partition.name.whitelist.pattern` then it 
should look in:
   ```
   confVal = 
Hive.get().getConf().get(ConfVars.PARTITION_NAME_WHITELIST_PATTERN.getHiveName());
   ```
   instead of **getMetaConf**
   
   In q files, as HMS runs is embedded the conf object "might be" shared.


-- 
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-unsubscr...@hive.apache.org

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


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

Reply via email to