You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ja...@apache.org on 2018/01/07 03:05:15 UTC
[07/50] [abbrv] carbondata git commit: [CARBONDATA-1822]
Documentation - Added REFRESH TABLE
[CARBONDATA-1822] Documentation - Added REFRESH TABLE
Updated documentation - Added REFRESH TABLE
This closes #1721
Project: http://git-wip-us.apache.org/repos/asf/carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/carbondata/commit/d0309268
Tree: http://git-wip-us.apache.org/repos/asf/carbondata/tree/d0309268
Diff: http://git-wip-us.apache.org/repos/asf/carbondata/diff/d0309268
Branch: refs/heads/carbonstore
Commit: d0309268ca386d12a62cf30ac7308b45be037d68
Parents: 0c8fa59
Author: Indhumathi27 <34...@users.noreply.github.com>
Authored: Fri Dec 22 18:59:56 2017 +0530
Committer: manishgupta88 <to...@gmail.com>
Committed: Wed Dec 27 19:16:30 2017 +0530
----------------------------------------------------------------------
docs/data-management-on-carbondata.md | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/carbondata/blob/d0309268/docs/data-management-on-carbondata.md
----------------------------------------------------------------------
diff --git a/docs/data-management-on-carbondata.md b/docs/data-management-on-carbondata.md
index 90afb4e..f2ae4df 100644
--- a/docs/data-management-on-carbondata.md
+++ b/docs/data-management-on-carbondata.md
@@ -254,7 +254,25 @@ This tutorial is going to introduce all commands and data operations on CarbonDa
```
DROP TABLE IF EXISTS productSchema.productSalesTable
```
+
+### REFRESH TABLE
+
+ This command is used to register Carbon table to HIVE meta store catalogue from existing Carbon table data.
+ ```
+ REFRESH TABLE $db_NAME.$table_NAME
+ ```
+ Example:
+ ```
+ REFRESH TABLE dbcarbon.productSalesTable
+ ```
+ NOTE:
+ * The new database name and the old database name should be same.
+ * Before executing this command the old table schema and data should be copied into the new database location.
+ * If the table is aggregate table, then all the aggregate tables should be copied to the new database location.
+ * For old store, the time zone of the source and destination cluster should be same.
+
+
## LOAD DATA
### LOAD FILES TO CARBONDATA TABLE