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

ASF GitHub Bot updated SPARK-45713:
-----------------------------------
    Labels: pull-request-available  (was: )

> Support registering Python data sources
> ---------------------------------------
>
>                 Key: SPARK-45713
>                 URL: https://issues.apache.org/jira/browse/SPARK-45713
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 4.0.0
>            Reporter: Allison Wang
>            Priority: Major
>              Labels: pull-request-available
>
> Support registering Python data sources.
> Users can register a Python data source and later use reference it using its 
> name.
> {code:java}
> class MyDataSource(DataSource):
>     @classmethod
>     def name(cls):
>         return "my-data-source"
> spark.dataSource.register(MyDataSource){code}
> Users can then use the name of the data source as the format (will be 
> supported in SPARK-45639)
> {code:java}
> spark.read.format("my-data-source").load(){code}



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

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

Reply via email to