You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2020/02/04 04:24:00 UTC
[jira] [Commented] (SPARK-30710) SPARK 2.4.4 - DROP TABLE and drop
HDFS
[ https://issues.apache.org/jira/browse/SPARK-30710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17029561#comment-17029561 ]
Hyukjin Kwon commented on SPARK-30710:
--------------------------------------
Please ask questions into mailing list (https://spark.apache.org/community.html).
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org