GitHub user scwf opened a pull request:
https://github.com/apache/spark/pull/10682
[SPARK-12742] [SQL] org.apache.spark.sql.hive.LogicalPlanToSQLSuite failure
due to Table already exists exception
```
[info] Exception encountered when attempting to run a suite with class
name: org.apache.spark.sql.hive.LogicalPlanToSQLSuite *** ABORTED *** (325
milliseconds)
[info] org.apache.spark.sql.AnalysisException: Table `t1` already exists.;
[info] at
org.apache.spark.sql.DataFrameWriter.saveAsTable(DataFrameWriter.scala:296)
[info] at
org.apache.spark.sql.DataFrameWriter.saveAsTable(DataFrameWriter.scala:285)
[info] at
org.apache.spark.sql.hive.LogicalPlanToSQLSuite.beforeAll(LogicalPlanToSQLSuite.scala:33)
[info] at
org.scalatest.BeforeAndAfterAll$class.beforeAll(BeforeAndAfterAll.scala:187)
[info] at
org.apache.spark.sql.hive.LogicalPlanToSQLSuite.beforeAll(LogicalPlanToSQLSuite.scala:23)
[info] at
org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:253)
[info] at
org.apache.spark.sql.hive.LogicalPlanToSQLSuite.run(LogicalPlanToSQLSuite.scala:23)
[info] at
org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:462)
[info] at
org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:671)
[info] at sbt.ForkMain$Run$2.call(ForkMain.java:296)
[info] at sbt.ForkMain$Run$2.call(ForkMain.java:286)
[info] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[info] at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[info] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[info] at java.lang.Thread.run(Thread.java:745)
```
/cc @liancheng
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/scwf/spark fix-test
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10682.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #10682
----
commit 62dd2f4e46c9fff010fd231fdc2e8c5c1a63c86b
Author: wangfei <[email protected]>
Date: 2016-01-10T16:30:58Z
fix table already exists error
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]