简体   繁体   中英

What is the hive command to see the value of hive.exec.dynamic.partition

We know that set command is used to set some values for properties

 hive> SET hive.exec.dynamic.partition=true;
 hive> SET hive.exec.dynamic.partition.mode=non-strict;

But how do we read the current value of above property

I tried the below commands, its not working

 get hive.exec.dynamic.partition
 show hive.exec.dynamic.partition

Could someone help on getting the correct hive command to read the current value of those above properties .

The same SET command but without value assignment will print current value:

hive> SET hive.exec.dynamic.partition;  

Output:

hive.exec.dynamic.partition=true

SET command without variable prints a list of configuration variables that are overridden.

See the documentation on Hive CLI and Beeline

To check property: hive.exec.dynamic.partition

Run below command SET hive.exec.dynamic.partition; SET hive.exec.dynamic.partition.mode;

and you can also visit below link https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-HiveConfigurationProperties

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM