Closed jkovacs-hwx closed 1 month ago
The DB location change could cause issues if altering location is skipped and tables would be mirrored to new location, but then this could be more complex like:
In these cases I think the user needs to set up proper 'relocation' configuration rather expect hms-mirror to handle automatic mapping. The only auto-mapping could be changing managed table locations from custom locations to the strict MANAGEDLOCATION in newer hive versions
In case if user has limited DB level permissions - like can work with tables but can't change DB attributes - some actions/statements needs to be configurable for successful mirroring: