-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TableChangesScan::execute and end to end testing for CDF (#580)
## What changes are proposed in this pull request? This PR introduces the `execute` method to `TableChangesScan`, which performs a CDF scan and returns `ScanResult` the change data feed. The `ScanResult` holds engine data and a selection vector to apply to the rows of the data. A helper method `read_scan_file` is added to read the rows of a `scan_file` and perform physical to logical transformation. The macros `sort_lines` and `asert_batches_sorted_eq` are moved to the `common` crate so they can be shared between the `read.rs` and new `cdf.rs` integration tests. The `cdf-table` and `cdf-table-non-partitioned` test tables are from the delta-rs project. ## How was this change tested? This tests data reading for 3 tables with the following features: - a table with deletion vectors involving deletion and restoration - a non-partitioned table - a partitioned table
- Loading branch information
1 parent
af075a8
commit 7bcbb57
Showing
15 changed files
with
328 additions
and
79 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
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
Oops, something went wrong.