question about hive.allow-register-partition-procedure #21335
-
i have a question, why allow-register-partition-procedure config is false as default, otherwise The official document says that security problem might occur. you can see related PR(allow-register-partition-procedure) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I assume because the location already exists and presumably contains data, and that can potentially lead to issues like data corruption when write operations are performed. But I am mostly guessing - @findepi @kokosing might have more info |
Beta Was this translation helpful? Give feedback.
-
this can lead to inadvertent data exposure (unprivileged data access) |
Beta Was this translation helpful? Give feedback.
-
@hashhar @findepi wouldn't URL authorization similar to HiveServer2 be the answer here? IE granular control of locations users can/can't create tables/partitions |
Beta Was this translation helpful? Give feedback.
this can lead to inadvertent data exposure (unprivileged data access)