The below command was successfully converting external tables to managed tables in Spark 2.0.0
:
ALTER TABLE {table_name} SET TBLPROPERTIES(EXTERNAL=FLASE);
However the above command is failing in Spark 2.2.0
with the below error:
Error in query: Cannot set or change the preserved property key: 'EXTERNAL';