carbondata find a bug

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

carbondata find a bug

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.
Reply | Threaded
Open this post in threaded view
|

Re: carbondata find a bug

David CaiQiang
+1

Best Regards
David QiangCai
Best Regards
David Cai
Reply | Threaded
Open this post in threaded view
|

Re: carbondata find a bug

Liang Chen-2
In reply to this post by Tian Li 田力
Hi tianli

First, please send mail to [hidden email] for
joining mailing list group.

Then you can send and receive mail from [hidden email].


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 田力 <[hidden email]>:

> 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.