GitHub user manishgupta88 opened a pull request:
https://github.com/apache/carbondata/pull/1665
[CARBONDATA-1884] Add CTAS support to carbondata
Implemented CTAS feature in carbondata. This will hep to create a carbon
table from other parquet/orc tables.
- [ ] Any interfaces changed?
New DDL has been introduced.
Syntax:
**CREATE TABLE [IF NOT EXISTS] [db_name.]table_name stored by 'carbondata'
AS select_statement**
- [ ] Any backward compatibility impacted?
No
- [ ] Document update required?
Yes
- [ ] Testing done
Yes added 12 functional test cases covering various scenarios for CTAS
test
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
NA
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/manishgupta88/carbondata CTAS_implementation
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1665.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 #1665
----
commit 1dc3df29d92d2cddcd73f6ea0c26140bd4a70ad6
Author: manishgupta88 <[email protected]>
Date: 2017-12-13T16:10:19Z
Added code for implementing CTAS
----
---