ALTER TABLE <table_name> SPLIT PARTITION behavior

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

ALTER TABLE <table_name> SPLIT PARTITION behavior

Pallavi Singh
Hi,

Does the Alter partition query update only the new loads after the
execution of Alter? Is it the desired behaviour?

Currently, I can see that after executing the alter command to alter
partitions, the old segments do not get updated. Only the new loads are
according to the updated partition


Thanks
Pallavi
Reply | Threaded
Open this post in threaded view
|

Re: ALTER TABLE <table_name> SPLIT PARTITION behavior

Cao Lu 曹鲁
Hi Pallavi,


The old segments will also be splitted.
Are you talking about this issue https://issues.apache.org/jira/browse/CARBONDATA-1427 ?
I've found it's caused by a bug of complex type in this function getCarbonFactDataHandlerModel
I will raise a PR to fix it.

thanks,
Lionel


在 17/9/5 下午4:10,“Pallavi Singh”<[hidden email]> 写入:

>Hi,
>
>Does the Alter partition query update only the new loads after the
>execution of Alter? Is it the desired behaviour?
>
>Currently, I can see that after executing the alter command to alter
>partitions, the old segments do not get updated. Only the new loads are
>according to the updated partition
>
>
>Thanks
>Pallavi
邮件免责申明----- 该电子邮件中的信息是保密的,除收件人外任何人无权访问此电子邮件。 如果您不是收件人,公开、复制、分发或基于此封邮件的任何行动,都是禁止的,并可能是违法的。该邮件包含的任何意见与建议均应遵循上汽集团关于信息传递与保密的制度或规定。除经上汽集团信函以正式书面方式确认外,任何相关的内容或信息不得作为正式依据。 Email Disclaimer----- The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing SAICMOTOR client engagement letter and should not be relied upon unless they are confirmed in writing on SAICMOTOR's letterhead.