[
https://issues.apache.org/jira/browse/CARBONDATA-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liang Chen resolved CARBONDATA-828.
-----------------------------------
Resolution: Fixed
> Fix length issue of model.dimensions in CarbonGlobalDictionaryGenerateRDD
> -------------------------------------------------------------------------
>
> Key: CARBONDATA-828
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-828> Project: CarbonData
> Issue Type: Bug
> Components: spark-integration
> Affects Versions: 1.0.0-incubating
> Reporter: tianli
> Assignee: tianli
> Priority: Minor
> Labels: patch
> Fix For: 1.1.0-incubating
>
> Attachments: CarbonGlobalDictionaryRDD.scala
>
> Original Estimate: 1h
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> org.apache.carbondata.spark.rdd.CarbonGlobalDictionaryGenerateRDD find a bug:
> code line 378-380
> if (model.isFirstLoad && model.highCardIdentifyEnable
> && !model.isComplexes(split.index)
> && model.dimensions(split.index).isColumnar) {
> model.dimensions(split.index).isColumnar must change to model.primDimensions(split.index).isColumnar because model.isComplexes.length may be != model.dimensions.length when create table use DICTIONARY_EXCLUDE or column datatype is complex
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)