You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Burak Yavuz (Jira)" <ji...@apache.org> on 2019/08/23 20:34:00 UTC

[jira] [Created] (SPARK-28863) Add an AlreadyPlanned logical node that skips query planning

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org