[
https://issues.apache.org/jira/browse/HIVE-14261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450823#comment-17450823
]
xiepengjie commented on HIVE-14261:
-----------------------------------
[~zabetak] , I am very happy to discuss this issue with you , i have closed
HIVE-25739 . For this issue , if we worried about some bad case, maybe we can
set partition's parameters by super user/some special users. But i think we
don't need to worried about it, because user can still setting it with
following code, unless hms disabled it.
{code:java}
HiveConf hiveConf = new HiveConf();
HiveMetaStoreClient hmsc = new HiveMetaStoreClient(hiveConf);
Partition partition = hmsc.getPartition("default", "test", "2021-11-29");
Map<String, String> parameters = partition.getParameters();
parameters.put("newKey", "newValue");
hmsc.alter_partition("db", "tableName", partition); {code}
> Support set/unset partition parameters
> --------------------------------------
>
> Key: HIVE-14261
> URL: https://issues.apache.org/jira/browse/HIVE-14261
> Project: Hive
> Issue Type: New Feature
> Reporter: Pengcheng Xiong
> Assignee: Pengcheng Xiong
> Priority: Major
> Attachments: HIVE-14261.01.patch
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)