Re: carbondata find a bug

2017-03-27 Thread Liang Chen
Hi tianli

First, please send mail to dev-subscr...@carbondata.incubator.apache.org for
joining mailing list group.

Then you can send and receive mail from dev@carbondata.incubator.apache.org.


Can you raise one JIRA at https://issues.apache.org/jira/browse/CARBONDATA,
and raise one pull request for fixing it .


Regards

Liang

2017-03-28 9:41 GMT+05:30 Tian Li 田力 :

> hi:
>  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
>
>
> --
> 田力  Tian Li
> 高级工程师  Senior Engineer
>
> 北京(100192)|上海|广州|西安|成都
> 北京 海淀区 西小口路66号 中关村东升科技园B区2号楼3层D区
> 3/F Zone D, Dongsheng Technology Park Building B-2,
> No.66 Xixiaokou Rd, Haidian Dist., Beijing, China
>
>
>
>  Disclaimer The information in this email and any attachments may contain
> proprietary and confidential information that is intended for the
> addressee(s) only. If you are not the intended recipient, you are hereby
> notified that any disclosure, copying, distribution, retention or use of
> the contents of this information is prohibited. When addressed to our
> clients or vendors, any information contained in this e-mail or any
> attachments is subject to the terms and conditions in any governing
> contract.


Re: carbondata find a bug

2017-03-27 Thread QiangCai
+1

Best Regards
David QiangCai




--
View this message in context: 
http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/carbondata-find-a-bug-tp9747p9749.html
Sent from the Apache CarbonData Mailing List archive mailing list archive at 
Nabble.com.


carbondata find a bug

2017-03-27 Thread Tian Li 田力
hi:
 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


--
田力  Tian Li
高级工程师  Senior Engineer

北京(100192)|上海|广州|西安|成都
北京 海淀区 西小口路66号 中关村东升科技园B区2号楼3层D区
3/F Zone D, Dongsheng Technology Park Building B-2,
No.66 Xixiaokou Rd, Haidian Dist., Beijing, China



 Disclaimer The information in this email and any attachments may contain 
proprietary and confidential information that is intended for the addressee(s) 
only. If you are not the intended recipient, you are hereby notified that any 
disclosure, copying, distribution, retention or use of the contents of this 
information is prohibited. When addressed to our clients or vendors, any 
information contained in this e-mail or any attachments is subject to the terms 
and conditions in any governing contract.