You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2014/06/19 08:27:25 UTC
[jira] [Created] (SPARK-2191) Double execution with CREATE TABLE AS
SELECT
Michael Armbrust created SPARK-2191:
---------------------------------------
Summary: Double execution with CREATE TABLE AS SELECT
Key: SPARK-2191
URL: https://issues.apache.org/jira/browse/SPARK-2191
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 1.0.0
Reporter: Michael Armbrust
Reproduction:
{code}
scala> hql("CREATE TABLE foo AS select unix_timestamp() from src limit 1").collect()
res5: Array[org.apache.spark.sql.Row] = Array()
scala> hql("SELECT * FROM foo").collect()
res6: Array[org.apache.spark.sql.Row] = Array([1403159129], [1403159130])
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)