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:
Describe alternatives you've considered
None
Additional context
None
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-sqlif they are using DataFusion as a SQL parser + query planner and are not using it for execution.Possible steps towards doing this:
ExpressionVisitorandexprlist_to_columnsfrom optimizer module todatafusion-exprcrateexpand_wildcardandexpand_qualified_wildcardfrom builder to exprTableReferencefromcatalogto `sql or a common crateLogicalPlanBuilder(which depends ondatasourceand physical plan and also is not CTE-aware) - or we need to moveLogicalPlanBuildertoexpr, but it depends on datasource + physical planDescribe alternatives you've considered
None
Additional context
None