You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ra...@apache.org on 2017/02/17 14:01:32 UTC

[8/9] incubator-carbondata git commit: [CARBONDATA-694] update quick start document

[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/babe5f86
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/babe5f86
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/babe5f86

Branch: refs/heads/branch-1.0
Commit: babe5f86cbed9d9f2eba56be9670e3941f582d1f
Parents: e0016e2
Author: hexiaoqiao <he...@meituan.com>
Authored: Wed Feb 15 15:05:24 2017 +0530
Committer: ravipesala <ra...@gmail.com>
Committed: Fri Feb 17 19:29:59 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/babe5f86/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