Created 06-06-2023 08:02 PM
Hello,
Is there a way get the hdfs locations of all tables in CDP 7.1.7 SP1?
I tried running a for loop against a list of tables on below command, however, it will take ages to get the list as I am looking forward to 66k+ tables.
hive -e “desc formatted <table>;” | grep Location
Thought of to get from HMS DB directly, however, I can only see DB location URI, but nothing specific to tables.
Kindly help as this is urgent.
Thanks
snm1523
Created on 06-06-2023 09:53 PM - edited 06-07-2023 06:24 AM
Want to get a detailed solution you have to login/registered on the community
Register/LoginCreated on 06-06-2023 09:53 PM - edited 06-07-2023 06:24 AM
Want to get a detailed solution you have to login/registered on the community
Register/LoginCreated 06-07-2023 10:51 PM
Thank you for the respone @ggangadharan