[
https://issues.apache.org/jira/browse/SPARK-28863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17249545#comment-17249545
]
Apache Spark commented on SPARK-28863:
--------------------------------------
User 'cloud-fan' has created a pull request for this issue:
https://github.com/apache/spark/pull/30777
> Add an AlreadyPlanned logical node that skips query planning
> ------------------------------------------------------------
>
> Key: SPARK-28863
> URL: https://issues.apache.org/jira/browse/SPARK-28863
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.1.0
> Reporter: Burak Yavuz
> Assignee: Burak Yavuz
> Priority: Major
> Fix For: 3.0.1, 3.1.0
>
>
> With the DataSourceV2 write operations, we have a way to fallback to the V1
> writer APIs using InsertableRelation.
> The gross part is that we're in physical land, but the InsertableRelation
> takes a logical plan, so we have to pass the logical plans to these physical
> nodes, and then potentially go through re-planning.
> A useful primitive could be specifying that a plan is ready for execution
> through a logical node AlreadyPlanned. This would wrap a physical plan, and
> then we can go straight to execution.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]