Repository: carbondata-site Updated Branches: refs/heads/asf-site 9da4e237e -> 8cb979c8d
corrected sequence of PDF Project: http://git-wip-us.apache.org/repos/asf/carbondata-site/repo Commit: http://git-wip-us.apache.org/repos/asf/carbondata-site/commit/58d7c797 Tree: http://git-wip-us.apache.org/repos/asf/carbondata-site/tree/58d7c797 Diff: http://git-wip-us.apache.org/repos/asf/carbondata-site/diff/58d7c797 Branch: refs/heads/asf-site Commit: 58d7c797e68b14cd52ef63a0a0cbba4d7f9a28cb Parents: 9da4e23 Author: vandana <vandana.yadav...@gmail.com> Authored: Tue Mar 27 17:47:26 2018 +0530 Committer: vandana <vandana.yadav...@gmail.com> Committed: Wed Mar 28 15:21:34 2018 +0530 ---------------------------------------------------------------------- content/data-management-on-carbondata.html | 5 +++- content/pdf/CarbonData Documentation.pdf | Bin 240561 -> 241250 bytes .../webapp/data-management-on-carbondata.html | 5 +++- .../webapp/pdf/CarbonData Documentation.pdf | Bin 240561 -> 241250 bytes .../markdown/data-management-on-carbondata.md | 9 +++++-- src/site/pdf.xml | 24 +++++++++---------- 6 files changed, 27 insertions(+), 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/carbondata-site/blob/58d7c797/content/data-management-on-carbondata.html ---------------------------------------------------------------------- diff --git a/content/data-management-on-carbondata.html b/content/data-management-on-carbondata.html index fd64b8a..57c28a4 100644 --- a/content/data-management-on-carbondata.html +++ b/content/data-management-on-carbondata.html @@ -757,7 +757,10 @@ SELECT <columns list excluding partition columns> FROM another_user <h4> <a id="drop-partition" class="anchor" href="#drop-partition" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Drop Partition</h4> <p>This command drops the specified Hive partition only.</p> -<pre><code>ALTER TABLE table_name DROP [IF EXISTS] (PARTITION part_spec, ...) +<pre><code>ALTER TABLE table_name DROP [IF EXISTS] PARTITION (part_spec, ...) +</code></pre> +<p>Example:</p> +<pre><code>ALTER TABLE locationTable DROP PARTITION (country = 'US'); </code></pre> <h4> <a id="insert-overwrite" class="anchor" href="#insert-overwrite" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Insert OVERWRITE</h4> http://git-wip-us.apache.org/repos/asf/carbondata-site/blob/58d7c797/content/pdf/CarbonData Documentation.pdf ---------------------------------------------------------------------- diff --git a/content/pdf/CarbonData Documentation.pdf b/content/pdf/CarbonData Documentation.pdf index 87879b6..f60eea0 100644 Binary files a/content/pdf/CarbonData Documentation.pdf and b/content/pdf/CarbonData Documentation.pdf differ http://git-wip-us.apache.org/repos/asf/carbondata-site/blob/58d7c797/src/main/webapp/data-management-on-carbondata.html ---------------------------------------------------------------------- diff --git a/src/main/webapp/data-management-on-carbondata.html b/src/main/webapp/data-management-on-carbondata.html index fd64b8a..57c28a4 100644 --- a/src/main/webapp/data-management-on-carbondata.html +++ b/src/main/webapp/data-management-on-carbondata.html @@ -757,7 +757,10 @@ SELECT <columns list excluding partition columns> FROM another_user <h4> <a id="drop-partition" class="anchor" href="#drop-partition" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Drop Partition</h4> <p>This command drops the specified Hive partition only.</p> -<pre><code>ALTER TABLE table_name DROP [IF EXISTS] (PARTITION part_spec, ...) +<pre><code>ALTER TABLE table_name DROP [IF EXISTS] PARTITION (part_spec, ...) +</code></pre> +<p>Example:</p> +<pre><code>ALTER TABLE locationTable DROP PARTITION (country = 'US'); </code></pre> <h4> <a id="insert-overwrite" class="anchor" href="#insert-overwrite" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Insert OVERWRITE</h4> http://git-wip-us.apache.org/repos/asf/carbondata-site/blob/58d7c797/src/main/webapp/pdf/CarbonData Documentation.pdf ---------------------------------------------------------------------- diff --git a/src/main/webapp/pdf/CarbonData Documentation.pdf b/src/main/webapp/pdf/CarbonData Documentation.pdf index 87879b6..f60eea0 100644 Binary files a/src/main/webapp/pdf/CarbonData Documentation.pdf and b/src/main/webapp/pdf/CarbonData Documentation.pdf differ http://git-wip-us.apache.org/repos/asf/carbondata-site/blob/58d7c797/src/site/markdown/data-management-on-carbondata.md ---------------------------------------------------------------------- diff --git a/src/site/markdown/data-management-on-carbondata.md b/src/site/markdown/data-management-on-carbondata.md index 22db960..ecaf068 100644 --- a/src/site/markdown/data-management-on-carbondata.md +++ b/src/site/markdown/data-management-on-carbondata.md @@ -736,9 +736,14 @@ This tutorial is going to introduce all commands and data operations on CarbonDa This command drops the specified Hive partition only. ``` - ALTER TABLE table_name DROP [IF EXISTS] (PARTITION part_spec, ...) + ALTER TABLE table_name DROP [IF EXISTS] PARTITION (part_spec, ...) ``` - + + Example: + ``` + ALTER TABLE locationTable DROP PARTITION (country = 'US'); + ``` + #### Insert OVERWRITE This command allows you to insert or load overwrite on a specific partition. http://git-wip-us.apache.org/repos/asf/carbondata-site/blob/58d7c797/src/site/pdf.xml ---------------------------------------------------------------------- diff --git a/src/site/pdf.xml b/src/site/pdf.xml index f080de2..05fbff9 100644 --- a/src/site/pdf.xml +++ b/src/site/pdf.xml @@ -9,18 +9,18 @@ </meta> <toc name="Table of Contents"> - <item name="Quick Start" ref='quick-start-guide.md'/> - <item name="Data Management on CarbonData" ref='data-management-on-carbondata.md'/> - <item name="Data Types" ref='supported-data-types-in-carbondata.md'/> - <item name="CarbonData File Structure" ref='file-structure-of-carbondata.md'/> - <item name="Installation" ref='installation-guide.md'/> - <item name="Configuring CarbonData" ref='configuration-parameters.md'/> - <item name="Streaming" ref='streaming-guide.md'/> - <item name="CarbonData Pre-aggregate DataMap" ref='preaggregate-datamap-guide.md'/> - <item name="CarbonData Timeseries DataMap" ref='timeseries-datamap-guide.md'/> - <item name="FAQs" ref='faq.md'/> - <item name="Troubleshooting" ref='troubleshooting.md'/> - <item name="Useful Tips" ref='useful-tips-on-carbondata.md'/> + <item name="Quick Start" ref='quick-start-guide.md'/> + <item name="CarbonData File Structure" ref='file-structure-of-carbondata.md'/> + <item name="Data Types" ref='supported-data-types-in-carbondata.md'/> + <item name="Data Management on CarbonData" ref='data-management-on-carbondata.md'/> + <item name="Installation" ref='installation-guide.md'/> + <item name="Configuring CarbonData" ref='configuration-parameters.md'/> + <item name="Streaming Guide" ref='streaming-guide.md'/> + <item name="CarbonData Pre-aggregate DataMap" ref='preaggregate-datamap-guide.md'/> + <item name="CarbonData Timeseries DataMap" ref='timeseries-datamap-guide.md'/> + <item name="FAQs" ref='faq.md'/> + <item name="Troubleshooting" ref='troubleshooting.md'/> + <item name="Useful Tips" ref='useful-tips-on-carbondata.md'/> </toc>