[ https://issues.apache.org/jira/browse/SPARK-30710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-30710: --------------------------------- Target Version/s: (was: 2.4.4) > SPARK 2.4.4 - DROP TABLE and drop HDFS > -------------------------------------- > > Key: SPARK-30710 > URL: https://issues.apache.org/jira/browse/SPARK-30710 > Project: Spark > Issue Type: Question > Components: Deploy > Affects Versions: 2.4.4 > Reporter: Nguyen Nhanduc > Priority: Major > Labels: drop, hive, spark, table > Fix For: 2.4.4 > > > Hi all, > I need to DROP a hive table and clear data in HDFS. But I can't convert it > from External to Managed (I have to create external table for my business). > On Spark 2.0.2, I can use script ALTER TABLE <tbl_name> SET TBLPROPERTIES > ('EXTERNAL' = 'FALSE'); then I execute script DROP TABLE <tbl_name>; metadata > and data was deleted together. > But on spark 2.4.4, it's not work. I need a solution for that (drop a > external table and drop data in hdfs or convert a external table to managed > table and drop it). > Many thanks. > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org