Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
1.8.0
-
None
Description
HMSPaths contains the following code:
void renameAuthzObject(String oldName, List<List<String>> oldPathElems, String newName, List<List<String>> newPathElems) { if ( oldPathElems == null || oldPathElems.size() == 0 || newPathElems == null || newPathElems.size() == 0 || newName == null || oldName == null || oldName == newName) { return; }
Note that it used oldName == newName comparison which isn't correct - it should use equals(). Also, instead of using size() it should use isEmpty()
Attachments
Issue Links
- is part of
-
SENTRY-1644 Partition ACLs disappear after renaming Hive table with partitions
-
- Resolved
-