-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Port cdf tests from delta-spark to kernel (#611)
## What changes are proposed in this pull request? This PR adds several CDF tests from delta-spark. We check the following: - CDF over various version ranges - Update operations are read correctly from cdc files - data_change=false means the action is skipped - A range with start > end is an error. - Start version greater than latest table version is an error - CDF works on partition tables - CDF works on tables with backticks in the column names - CDF is correct in deletion cases with unconditional deletes, conditional deletes that remove all rows, and selective conditional deletes. Table-changes construction is also changed so that CDF version error is checked before snapshots are created. This makes the error message clearer in the case that the start version is beyond the end of the table.
- Loading branch information
1 parent
c1c1dbe
commit 606db20
Showing
14 changed files
with
324 additions
and
13 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
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.