GitHub user QiangCai opened a pull request:
https://github.com/apache/carbondata/pull/2019
[CARBONDATA-2172] Add text_columns property for Lucene DataMap
**Modification**
Add text_columns property for Lucene DataMap:
```SQL
CREATE DATAMAP <dataMapName> ON TABLE <tableName>
USING 'org.apache.carbondata.datamap.lucene.LuceneFineGrainDataMapFactory'
DMProperties('TEXT_COLUMNS'='col1,col3')
```
**Limitation**
1. TEXT_COLUMNS only support String DataType columns
- [x] Any interfaces changed?
yes, add new datamap properties
- [x] Any backward compatibility impacted?
no
- [x] Document update required?
yes
- [x] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests
are required?
added ut
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance
test report.
- Any additional information to help reviewers in testing this
change.
- [x] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
small changes
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/QiangCai/carbondata
datamap_lucene_text_columns
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2019.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 #2019
----
commit 3c91938f85484ae25f800763a148ab551ad312d3
Author: QiangCai <qiangcai@...>
Date: 2018-03-01T07:40:01Z
add text_columns DataMap property
----
---