[ 
https://issues.apache.org/jira/browse/SPARK-48377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Milicevic resolved SPARK-48377.
-------------------------------------
    Resolution: Later

Marking this item as "Later" for a simple reason - too complex for now.

We are in the process of designing and introducing a support for stored 
procedures as well. Together with it, we are thinking of introducing a new 
concept like Table Reference variable, which will be much easier and intuitive 
way to achieve the same/similar as with multiple results API.

Similar is true for cursors, if we decide to introduce the concept sometime in 
the future, that might be a better way to handle multiple results.

Until all of those decisions are figured out/made, we cannot make a decision on 
this item as well.

> [M3] Multiple results API - sqlScript()
> ---------------------------------------
>
>                 Key: SPARK-48377
>                 URL: https://issues.apache.org/jira/browse/SPARK-48377
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core
>    Affects Versions: 4.0.0
>            Reporter: David Milicevic
>            Priority: Major
>
> For now:
>  * Write an API proposal
>  ** The API itself should be fine, but we need to figure out what the result 
> set should look like, i.e. in what format we return multiple DataFrames.
>  ** The result set should be compatible with CALL and EXECUTE IMMEDIATE as 
> well.
>  * Figure out how the API will propagate down the Spark Connect stack 
> (depends on SPARK-48452 investigation)
>  
> Probably to be separated into multiple subtasks in the future.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to