carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenliang...@apache.org
Subject [1/2] incubator-carbondata git commit: add spark.stop for SparkSessionExample
Date Tue, 27 Dec 2016 01:57:20 GMT
Repository: incubator-carbondata
Updated Branches:
  refs/heads/master e8dcd4296 -> e7b46ccf0


add spark.stop for SparkSessionExample

add spark.stop for SparkSessionExample

Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/ad7392d2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/ad7392d2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/ad7392d2

Branch: refs/heads/master
Commit: ad7392d2a9c1a1a33747894a9daebad70e421c59
Parents: e8dcd42
Author: qiuheng <jarray888@users.noreply.github.com>
Authored: Tue Dec 27 09:44:17 2016 +0800
Committer: GitHub <noreply@github.com>
Committed: Tue Dec 27 09:44:17 2016 +0800

----------------------------------------------------------------------
 .../scala/org/apache/carbondata/examples/SparkSessionExample.scala  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/ad7392d2/examples/spark2/src/main/scala/org/apache/carbondata/examples/SparkSessionExample.scala
----------------------------------------------------------------------
diff --git a/examples/spark2/src/main/scala/org/apache/carbondata/examples/SparkSessionExample.scala
b/examples/spark2/src/main/scala/org/apache/carbondata/examples/SparkSessionExample.scala
index 2affbe2..1ab3276 100644
--- a/examples/spark2/src/main/scala/org/apache/carbondata/examples/SparkSessionExample.scala
+++ b/examples/spark2/src/main/scala/org/apache/carbondata/examples/SparkSessionExample.scala
@@ -169,5 +169,6 @@ object SparkSessionExample {
     // Drop table
     spark.sql("DROP TABLE IF EXISTS carbon_table")
     spark.sql("DROP TABLE IF EXISTS csv_table")
+    spark.stop()
   }
 }


Mime
View raw message