kunal642 edited a comment on issue #3167: [CARBONDATA-3334] fixed multiple segment file issue for partition
URL:
https://github.com/apache/carbondata/pull/3167#issuecomment-479876865
Hi xuchuanyin,
The problem was that before launching the job to merge index files we are changing the fact timestamp sue to which a new segments file is written with mergeindex details.
Example:-
load writes **0_t1.segment**
while the mergeindex will write **0_t2.segment.**
My fix is that if the load has already identifier a timestamp for the segments file then mergeindex should use the same.
I understand the check does not look good but the other solution would be to remove the 0_t1.segment file from merge index flow. i dont think that way would be clean either
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]
With regards,
Apache Git Services