-
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.
Remove lifetime requirement on
Scan::execute
(#588)
## What changes are proposed in this pull request? Currently, `Scan::execute` takes the lifetime of the `Scan` into the Iterator, forcing it to live as long as the scan. This Pr removes that requirement so that the user can lazily consume the iterator without managing the lifetime of `Scan`. This simplifies the usage of kernel This PR also changes all `read_schema` names to `physical_schema` to make it clear and consistent what the schema represents. note that `Snapshot` already calls this the `physical_schema` ### This PR affects the following public APIs `Scan::execute` no longer depends on the lifetime of `&self` ## How was this change tested? Everything compiles :)
- Loading branch information
1 parent
7bcbb57
commit 04ccccb
Showing
6 changed files
with
26 additions
and
19 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