Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/1812
@Xaprice I think we should have validation for the order of segments to be
merged. For suppose we have segments of 1 to 8, and the user gives the
compaction on 1, 5, 8 then this should not be valid as it will impact the order
of data it is inserted. ---
