carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravipes...@apache.org
Subject [1/2] incubator-carbondata git commit: [CARBONDATA-694] update quick start document
Date Wed, 15 Feb 2017 09:36:55 GMT
Repository: incubator-carbondata
Updated Branches:
  refs/heads/master 35afe80e3 -> 435941b50


[CARBONDATA-694] update quick start document


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

Branch: refs/heads/master
Commit: 5ad9be99dfd7dcc953a596d67ce255e40fa22b7d
Parents: 35afe80
Author: hexiaoqiao <hexiaoqiao@meituan.com>
Authored: Wed Feb 15 15:05:24 2017 +0530
Committer: ravipesala <ravi.pesala@gmail.com>
Committed: Wed Feb 15 15:05:24 2017 +0530

----------------------------------------------------------------------
 docs/quick-start-guide.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/5ad9be99/docs/quick-start-guide.md
----------------------------------------------------------------------
diff --git a/docs/quick-start-guide.md b/docs/quick-start-guide.md
index 5a2d6e2..e6ef742 100644
--- a/docs/quick-start-guide.md
+++ b/docs/quick-start-guide.md
@@ -62,8 +62,9 @@ import org.apache.spark.sql.CarbonSession._
 * Create a CarbonSession :
 
 ```
-val carbon = SparkSession.builder().config(sc.getConf).getOrCreateCarbonSession()
+val carbon = SparkSession.builder().config(sc.getConf).getOrCreateCarbonSession("<hdfs
store path>")
 ```
+NOTE: By default metastore location is pointed to "../carbon.metastore", user can provide
own metastore location to CarbonSession like `SparkSession.builder().config(sc.getConf).getOrCreateCarbonSession("<hdfs
store path>", "<local metastore path>")`
 
 #### Executing Queries
 


Mime
View raw message