Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement TableProvider for DataFrameImpl to allow registration of logical plans #1698

Closed
cpcloud opened this issue Jan 28, 2022 · 0 comments · Fixed by #1699
Closed

Implement TableProvider for DataFrameImpl to allow registration of logical plans #1698

cpcloud opened this issue Jan 28, 2022 · 0 comments · Fixed by #1699
Labels
datafusion Changes in the datafusion crate enhancement New feature or request

Comments

@cpcloud
Copy link
Contributor

cpcloud commented Jan 28, 2022

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and why for this feature, in addition to the what)

I'd like to be able to assign a name to previously constructed logical plan.

Describe the solution you'd like
A clear and concise description of what you want to happen.

let mut ctx = ExecutionContext::new(...);
let table = ctx.table("t");
let df = table.filter(...);
ctx.register_table("filtered_t", something_corresponding_to_df);

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

I haven't considered any alternatives.

Additional context
Add any other context or screenshots about the feature request here.

I'll have a PR up shortly for this.

@cpcloud cpcloud added the enhancement New feature or request label Jan 28, 2022
@alamb alamb added the datafusion Changes in the datafusion crate label Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datafusion Changes in the datafusion crate enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants