I created a table in hive as a managed table, but it was supposed to be external, is it possible to change the table type of the table without losing the data?
I created a table in hive as a managed table, but it was supposed to be external, is it possible to change the table type of the table without losing the data?
alter table <table_name> SET TBLPROPERTIES('EXTERNAL'='TRUE')
Note: It work only if it is non transactional internal/managed table.