[ https://issues.apache.org/jira/browse/SPARK-3907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14173806#comment-14173806 ]
Apache Spark commented on SPARK-3907: ------------------------------------- User 'wangxiaojing' has created a pull request for this issue: https://github.com/apache/spark/pull/2770 > add "truncate table" support > ----------------------------- > > Key: SPARK-3907 > URL: https://issues.apache.org/jira/browse/SPARK-3907 > Project: Spark > Issue Type: New Feature > Components: SQL > Affects Versions: 1.1.0 > Reporter: wangxj > Priority: Minor > Labels: features > Fix For: 1.1.0 > > Original Estimate: 0.05h > Remaining Estimate: 0.05h > > The "truncate table " syntax had been disabled. > Removes all rows from a table or partition(s),Currently target table should > be native/managed table or exception will be thrown.User can specify partial > partition_spec for truncating multiple partitions at once and omitting > partition_spec will truncate all partitions in the table. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org