-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to return
LogicalPlan
by value from TableProvider
This patch adds the ability to return a `LogicalPlan` by value from a `TableProvider`. The motivation for this change is as follows: let's assume that we have `TableProvider` that supports concurrent modifications of the inner logical plan (for example, mutable VIEW), and it cannot afford to provide a reference for inlining. Since cloning occurs during inlining anyway, a corresponding method was added to extend the API, along with its default implementation.
- Loading branch information
Showing
3 changed files
with
28 additions
and
20 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