You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2025/06/23 00:31:00 UTC

[jira] [Resolved] (SPARK-52539) Session hooks

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

Hyukjin Kwon resolved SPARK-52539.
----------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

Issue resolved by pull request 51233
[https://github.com/apache/spark/pull/51233]

> Session hooks
> -------------
>
>                 Key: SPARK-52539
>                 URL: https://issues.apache.org/jira/browse/SPARK-52539
>             Project: Spark
>          Issue Type: New Feature
>          Components: Connect
>    Affects Versions: 4.0.0
>            Reporter: Niklas Mohrin
>            Assignee: Niklas Mohrin
>            Priority: Minor
>             Fix For: 4.1.0
>
>
> This change introduces a new class SparkSession.Hook to pyspark. Such a hook can be registered with a spark session and will be called at particular times. For this initial version, hooks support the on_execute_plan method which can be used to modify an ExecutePlanRequest right before it is sent.
> The motivation for this change is to define a slim but powerful interface with which additional behavior can be injected into a spark session.



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

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