Jungtaek Lim created SPARK-62344:
------------------------------------

             Summary: Add the Python Data Source API for external lookup and 
plan it on the driver
                 Key: SPARK-62344
                 URL: https://issues.apache.org/jira/browse/SPARK-62344
             Project: Spark
          Issue Type: Task
          Components: PySpark
    Affects Versions: 5.0.0
            Reporter: Jungtaek Lim


Part of SPARK-60031.

Add the Python side of the external lookup join API, mirroring the DSv2 
connector API:
- `DataSource.lookupReader()`
- `DataSourceLookupReader`, with `pushFilters`, `selectLookupPredicates` (which 
returns the positions of the selected candidates, as the Scala method does 
since SPARK-62120), `maxParameterRowsPerRequest`, `lookup` and `close`
- `LookupParameter`

Plan a lookup with a Python data source on the driver, in Python planner 
workers. Report the `EXTERNAL_LOOKUP` capability for data sources that 
implement `lookupReader()`. The feature is behind the internal configuration 
`spark.sql.python.externalLookup.enabled`, off by default. Execution on 
executors follows in a separate task.




--
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