Repository: carbondata Updated Branches: refs/heads/master 72f50b507 -> b7b3cf2de
[Documentation] Example added for Drop Partition Example added for Drop Partition This closes #2067 Project: http://git-wip-us.apache.org/repos/asf/carbondata/repo Commit: http://git-wip-us.apache.org/repos/asf/carbondata/commit/b7b3cf2d Tree: http://git-wip-us.apache.org/repos/asf/carbondata/tree/b7b3cf2d Diff: http://git-wip-us.apache.org/repos/asf/carbondata/diff/b7b3cf2d Branch: refs/heads/master Commit: b7b3cf2de0a14eef92f6200c612a7f83d8d1f253 Parents: 72f50b5 Author: sgururajshetty <[email protected]> Authored: Thu Mar 15 16:20:41 2018 +0530 Committer: manishgupta88 <[email protected]> Committed: Mon Mar 26 14:10:01 2018 +0530 ---------------------------------------------------------------------- docs/data-management-on-carbondata.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/carbondata/blob/b7b3cf2d/docs/data-management-on-carbondata.md ---------------------------------------------------------------------- diff --git a/docs/data-management-on-carbondata.md b/docs/data-management-on-carbondata.md index 22db960..5860569 100644 --- a/docs/data-management-on-carbondata.md +++ b/docs/data-management-on-carbondata.md @@ -1,4 +1,5 @@ <!-- +<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. @@ -736,9 +737,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.
