[ https://issues.apache.org/jira/browse/SPARK-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin resolved SPARK-2191. -------------------------------- Resolution: Fixed Fix Version/s: 1.1.0 1.0.1 Assignee: Michael Armbrust > 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 > Assignee: Michael Armbrust > Fix For: 1.0.1, 1.1.0 > > > 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)