[
https://issues.apache.org/jira/browse/SPARK-61926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-61926:
---------------------------------
Fix Version/s: connect-rust-4.4.0
> Replace the placeholders of DataFrames under a SubqueryAlias built in Python,
> as PySpark sends their relations
> --------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-61926
> URL: https://issues.apache.org/jira/browse/SPARK-61926
> Project: Spark
> Issue Type: Bug
> Components: Connect
> Affects Versions: connect-rust-4.4.0
> Reporter: Hyukjin Kwon
> Priority: Major
> Fix For: connect-rust-4.4.0
>
>
> The relation of a DataFrame's plan in the drop-in (df._plan.plan(client)) is
> a placeholder that the core replaces by the DataFrame's relation where it
> looks for it. It does not look under a SubqueryAlias built in Python, so
> these plans reach the server with the placeholder, which the server refuses
> with NO_HANDLER_FOR_EXTENSION, where pyspark-client 4.3.0 sends the relations:
> - DataFrame(SubqueryAlias(df._plan, "x"), spark)
> - DataFrame(SQL("select * from v", views=[SubqueryAlias(df._plan, "v")]),
> spark)
> - SubqueryAlias(PluginPlan(df._plan), "p"), the extension of a plugin that
> holds df._plan.plan(session)
> The core should descend into SubqueryAlias.input, and take the Observations
> through it, as PySpark does.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]