[ https://issues.apache.org/jira/browse/SPARK-15977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herman van Hovell resolved SPARK-15977. --------------------------------------- Resolution: Resolved > TRUNCATE TABLE does not work with Datasource tables outside of Hive > ------------------------------------------------------------------- > > Key: SPARK-15977 > URL: https://issues.apache.org/jira/browse/SPARK-15977 > Project: Spark > Issue Type: Bug > Reporter: Herman van Hovell > Assignee: Herman van Hovell > > The {{TRUNCATE TABLE}} command does not work with datasource tables without > Hive support. For example the following doesn't work: > {noformat} > DROP TABLE IF EXISTS test > CREATE TABLE test(a INT, b STRING) USING JSON > INSERT INTO test VALUES (1, 'a'), (2, 'b'), (3, 'c') > SELECT * FROM test > TRUNCATE TABLE test > SELECT * FROM test > {noformat} -- 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