spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-15977) TRUNCATE TABLE does not work with Datasource tables outside of Hive
Date Thu, 16 Jun 2016 03:57:05 GMT

     [ 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


Mime
View raw message