Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[CARBONDATA-4284] Load/insert after alter add column on partition tab…
…le with complex column fails Why is this PR needed? Insert after alter add column on partition table with complex column fails with bufferUnderFlowException List of columns order in TableSchema is different after alter add column. Ex: If partition is of dimension type, when table is created the schema columns order is as dimension columns(partition column also) + complex column After alter add, we are changing the order of columns in schema by moving the partition column to last. complex column + partition column Due to this change in order, while fillDimensionAndMeasureDetails, the indexing is wrong as it expects complex column to be last always which causes bufferUnderFlowException while flattening complex row. What changes were proposed in this PR? After alter add, removed changes to add partition column at last. This closes #4215
- Loading branch information