You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/16 03:57:05 UTC
[jira] [Assigned] (SPARK-15977) TRUNCATE TABLE does not work with
Datasource tables outside of Hive
[ https://issues.apache.org/jira/browse/SPARK-15977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-15977:
------------------------------------
Assignee: Apache Spark (was: Herman van Hovell)
> 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: Apache Spark
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org