-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
This is a long-term goal and not possible to do today but I think it would be good to improve the separation between planning and execution over time.
Users who just want to use DataFusion for query planning would be able to add a dependency on datafusion-sql.
Describe the solution you'd like
I would like the ability to have projects just depend on datafusion-sql if they are using DataFusion as a SQL parser + query planner and are not using it for execution.
Possible steps towards doing this:
- Move
ExpressionVisitorandexprlist_to_columnsfrom optimizer module todatafusion-exprcrate - Move
expand_wildcardandexpand_qualified_wildcardfrom builder to expr - Move/copy
TableReferencefromcatalogto `sql or a common crate - SQL planner needs to stop using
LogicalPlanBuilder(which depends ondatasourceand physical plan and also is not CTE-aware) - or we need to moveLogicalPlanBuildertoexpr, but it depends on datasource + physical plan
Describe alternatives you've considered
None
Additional context
None
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request