GitHub user nareshpr opened a pull request: https://github.com/apache/incubator-carbondata/pull/674
[CARBONDATA-795]rename table is changing provided db to current db When user trigger rename table command not on current database, table is getting renamed from provided db to current db. eg., alter table testdb.test1 rename to testdb.test2 Assume current db is default, Above query is renaming the table from testdb.test1 to default.test2 You can merge this pull request into a Git repository by running: $ git pull https://github.com/nareshpr/incubator-carbondata renametablefix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-carbondata/pull/674.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #674 ---- commit 0642d2664526836a97ffec901ddcba811cfbeebe Author: nareshpr <prnaresh.nar...@gmail.com> Date: 2017-03-20T07:11:32Z rename table is changing provided db to current db ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---