carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenliang...@apache.org
Subject incubator-carbondata-site git commit: update quickstart as per PR
Date Sat, 25 Feb 2017 06:01:00 GMT
Repository: incubator-carbondata-site
Updated Branches:
  refs/heads/asf-site 1a11635a0 -> f312d9457


update quickstart as per PR


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

Branch: refs/heads/asf-site
Commit: f312d9457c5633a9e39aeb16d0f17fa8c92fdc31
Parents: 1a11635
Author: chenliang613 <chenliang613@huawei.com>
Authored: Sat Feb 25 14:00:43 2017 +0800
Committer: chenliang613 <chenliang613@huawei.com>
Committed: Sat Feb 25 14:00:43 2017 +0800

----------------------------------------------------------------------
 content/docs/latest/quick-start-guide.html         | 6 ++----
 src/main/webapp/docs/latest/quick-start-guide.html | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata-site/blob/f312d945/content/docs/latest/quick-start-guide.html
----------------------------------------------------------------------
diff --git a/content/docs/latest/quick-start-guide.html b/content/docs/latest/quick-start-guide.html
index 3c1bfda..62e3693 100644
--- a/content/docs/latest/quick-start-guide.html
+++ b/content/docs/latest/quick-start-guide.html
@@ -51,10 +51,8 @@
     <li>Create a CarbonSession :</li>
 </ul><p><code>
     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>")
-</code></p><h4>Executing Queries</h4><h5>Creating a Table</h5><p><code>
-    scala&gt;carbon.sql(&quot;CREATE TABLE IF NOT EXISTS test_table(id string, name
string, city
-    string, age Int) STORED BY &#39;carbondata&#39;&quot;)
+</code>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>").</p><h4>Executing Queries</h4><h5>Creating
a Table</h5><p><code>
+    scala&gt;carbon.sql(&quot;CREATE TABLE IF NOT EXISTS test_table(id string, name
string, city string, age Int) STORED BY &#39;carbondata&#39;&quot;)
 </code></p><h5>Loading Data to a Table</h5><p><code>
     scala&gt;carbon.sql(&quot;LOAD DATA INPATH &#39;sample.csv file path&#39;
INTO TABLE test_table&quot;)
 </code> NOTE:Please provide the real file path of sample.csv for the above script.</p><h6>Query
Data

http://git-wip-us.apache.org/repos/asf/incubator-carbondata-site/blob/f312d945/src/main/webapp/docs/latest/quick-start-guide.html
----------------------------------------------------------------------
diff --git a/src/main/webapp/docs/latest/quick-start-guide.html b/src/main/webapp/docs/latest/quick-start-guide.html
index 3c1bfda..62e3693 100644
--- a/src/main/webapp/docs/latest/quick-start-guide.html
+++ b/src/main/webapp/docs/latest/quick-start-guide.html
@@ -51,10 +51,8 @@
     <li>Create a CarbonSession :</li>
 </ul><p><code>
     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>")
-</code></p><h4>Executing Queries</h4><h5>Creating a Table</h5><p><code>
-    scala&gt;carbon.sql(&quot;CREATE TABLE IF NOT EXISTS test_table(id string, name
string, city
-    string, age Int) STORED BY &#39;carbondata&#39;&quot;)
+</code>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>").</p><h4>Executing Queries</h4><h5>Creating
a Table</h5><p><code>
+    scala&gt;carbon.sql(&quot;CREATE TABLE IF NOT EXISTS test_table(id string, name
string, city string, age Int) STORED BY &#39;carbondata&#39;&quot;)
 </code></p><h5>Loading Data to a Table</h5><p><code>
     scala&gt;carbon.sql(&quot;LOAD DATA INPATH &#39;sample.csv file path&#39;
INTO TABLE test_table&quot;)
 </code> NOTE:Please provide the real file path of sample.csv for the above script.</p><h6>Query
Data


Mime
View raw message