什么是hive命令才能看到hive.exec.dynamic.partition的值 [英] What is the hive command to see the value of hive.exec.dynamic.partition
本文介绍了什么是hive命令才能看到hive.exec.dynamic.partition的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们知道set命令用于设置属性的一些值
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 .
推荐答案
相同的 SET
命令但未分配值将打印当前值:
The same SET
command but without value assignment will print current value:
hive> SET hive.exec.dynamic.partition;
输出:
hive.exec.dynamic.partition=true
SET
命令(不带变量)将显示被覆盖的配置变量列表.
SET
command without variable prints a list of configuration variables that are overridden.