-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## What changes are proposed in this pull request? This is a PR fixes the behaviour for CDF on tables with deletion vectors. When computing selection vectors from add/remove dv pairs, the selection vector must be extended with false. When computing selection vectors from a normal dv, we extend the selection vector with true. ## How was this change tested? I create a table which adds and removes deletion vectors whose lengths are shorter than the total number of rows. The test checks: - deleting rows when none were deleted. - deleting rows when some were deleted - restoring some of the rows that have been deleted - restoring some rows and removing another - restoring all rows. All of these rows are less than the size of the table, so they exercise the extension behaviour for selection vectors.
- Loading branch information
1 parent
be1453f
commit 702e12f
Showing
3 changed files
with
46 additions
and
2 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
Binary file not shown.