[CARBONDATA-4320] Fix clean files removing wrong delta files
Why is this PR needed?
In the case where there are multiple delete delta files in a partition
in a partition table, some delta files were being ignored and deleted,
thus changing the value during the query
What changes were proposed in this PR?
Fixed the logic which checks which delta file to delete. Now checking
the deltaStartTime and comparing it with deltaEndTime to check consider
all the delta files during clean files.
Does this PR introduce any user interface change?
No
Is any new testcase added?
Yes, one test case has been added.
This closes #4246