maheshrajus opened a new pull request, #4285:
URL: https://github.com/apache/carbondata/pull/4285
### Why is this PR needed?
Update/delete operations failed when other format segments deleted from
carbon table
Steps to reproduce:
1) create carbon table and load the data
2) create parquet/orc tables and load the data
3) add parquet/orc format segments in carbon table by alter add segment
command
4) perform update/delete operations in carbon table and they will fail as
table contains mixed format segments. This is expected behaviour only.
4) delete the other format segments which is added in step3
5) try to perform update/delete operation in carbon data. They should not
fail
For update/delete operations we are checking if other format segments
present in table path. If found then carbon data throwing exception by saying
mixed format segments exists even though the other format segments deleted from
table.
### What changes were proposed in this PR?
When we are checking other format segment present in carbon table then it
should check only for SUCCESS/PARTIAL_SUCCESS segments.
### Does this PR introduce any user interface change?
- No
### Is any new testcase added?
- Yes
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]