-
Notifications
You must be signed in to change notification settings - Fork 703
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CARBONDATA-3793]Fix update and delete issue when multiple partition …
…columns are present and clean files issue Why is this PR needed? 1. After #3837 , when there are multiple partition columns are present in table, update and delete not happening as , it was considering the tuple id as external segment tuple ID , Because when multiple partitions are present TID contains # character. 2. when multiple segments are present, and some segments are updated, and clean files delete the segment files of non updated segments considering as stale files. What changes were proposed in this PR? 1. To double check for external segment, check if the segment metadata details has path is not null. 2. delete the old segment files of only the updated segments. This closes #3911
- Loading branch information
Showing
5 changed files
with
58 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters