GitHub user NamanRastogi opened a pull request:
https://github.com/apache/carbondata/pull/2748 [CARBONDATA-2959] Added validations for TABLE OPTIONS
create table validations are added for table OPTIONS while table is created using:
```
CREATE TABLE <tableName> ( <columns> )
USING carbon
OPTIONS ( <options> )
```
As the validations cannot be done at the table creation, it has to be done while loading data.
Validations are done for LONG_STRING_COLUMNS, DICTIONARY_INCLUDE, DICTIONARY_EXCLUDE, and NO_INVERTED_INDEX
- [ ] Any interfaces changed?
- [ ] Any backward compatibility impacted?
- [ ] Document update required?
- [x] Testing done
- [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
You can merge this pull request into a Git repository by running:
$ git pull
https://github.com/NamanRastogi/carbondata b06
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2748.patchTo close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2748
----
commit 477e6faa3333af619645b5ff6cf66a09926dd6eb
Author: Naman Rastogi <naman.rastogi.52@...>
Date: 2018-09-21T14:49:00Z
Added validation for 'LONG_STRING_COLUMNS' while using 'USING CARBON' to create table
----
---