Burak Yavuz created SPARK-28863:
-----------------------------------

             Summary: 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.0.0
            Reporter: Burak Yavuz


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.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to