Ajantha Bhat created CARBONDATA-3723:
----------------------------------------
Summary: insert failure when partition column is a first column of projection in MV
Key: CARBONDATA-3723
URL:
https://issues.apache.org/jira/browse/CARBONDATA-3723 Project: CarbonData
Issue Type: Bug
Reporter: Ajantha Bhat
Fix For: 2.0.0
For Alter table drop and add column scenarios, partition columns may not be in the end of create-order column. So, added a logic to keep the partition column in the end in #3634.
But partition may not be the last projection column during mv creation. So now, create order partition is kept last, but the projection is not last. Hence the insert gives wrong data or fails.
so, rearrage partition to last in create order columns, only for alter table scenarios
--
This message was sent by Atlassian Jira
(v8.3.4#803005)