Jungtaek Lim created SPARK-62345:
------------------------------------

             Summary: Execute Python Data Source external lookups on executors
                 Key: SPARK-62345
                 URL: https://issues.apache.org/jira/browse/SPARK-62345
             Project: Spark
          Issue Type: Task
          Components: PySpark
    Affects Versions: 5.0.0
            Reporter: Jungtaek Lim


Part of SPARK-60031.

Run the lookups of a Python data source on the executors:
- **One worker per reader.** Each reader uses one Python worker for all the 
requests of its input partition.
- **Protocol.** The JVM and Python exchange one Arrow batch of parameter rows 
per request, and an Arrow stream of results.
- **Also covered:** cancel on early close, graceful and forced close, the 
session's files through `SparkFiles`, and the bytes sent and received as source 
metrics.
- **Kill timeout.** `spark.python.task.killTimeout` bounds the end of a 
cancelled response and the reader's `close()`.
- **Failures of `close()`.** A failure of `close()` after an earlier failure of 
the task is added to that failure as suppressed.




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to