Skip to content

Conversation

@avantgardnerio
Copy link
Contributor

Which issue does this PR close?

Closes #3866.

Rationale for this change

Described in the issue.

What changes are included in this PR?

  1. Addition of async and Result to the TableProviderFactory
  2. Moving of table_provider_factories out of Session and into RuntimeEnv to decrease verbosity and bring them more in line with how the ObjectStoreRegistry already does things.

Are there any user-facing changes?

In the unlikely event that anyone else has implemented TableProviderFactory they will need to update their code.

@github-actions github-actions bot added the core Core DataFusion crate label Oct 17, 2022
@avantgardnerio
Copy link
Contributor Author

Copy link
Member

@andygrove andygrove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @avantgardnerio

@andygrove andygrove merged commit a0d6b2f into apache:master Oct 18, 2022
@avantgardnerio avantgardnerio deleted the bg_register_table branch October 18, 2022 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TableProviderFactories need to be async and return a Result to be useful

2 participants