- Is it possible to DROP TABLE but not DROP DATABASE in Hive using Ranger Hive Plugin on latest version of HDP?
DROP TABLE IF EXISTS tableName;
@sulanta thanks but my requirement is little different. What I want is to restrict the user from dropping the database but that user should be able to drop the table. Is this possible?
The above command does not drop the database , it will only drop the specific table mentioned in the command.
I have same issue. Did you get an answer please?