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

Wenchen Fan updated SPARK-25390:
--------------------------------
    Description: 
Currently it's not very clear how we should abstract data source v2 API. The 
abstraction should be unified between batch and streaming, or similar but have 
a well-defined difference between batch and streaming. And the abstraction 
should also include catalog/table.

An example of the abstraction:
{code}
batch: catalog -> table -> scan
streaming: catalog -> table -> stream -> scan
{code}

We should refactor the data source v2 API according to the abstraction

  was:
Currently it's not very clear how we should abstract data source v2 API. The 
abstraction should be unified between batch and streaming, or similar but have 
a well-defined difference between batch and streaming. And the abstraction 
should also include catalog/table.

An example of the abstraction:
{code}
batch: catalog -> table -> scan
streaming: catalog -> table -> stream -> scan
{code}


> data source V2 API refactoring
> ------------------------------
>
>                 Key: SPARK-25390
>                 URL: https://issues.apache.org/jira/browse/SPARK-25390
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.5.0
>            Reporter: Wenchen Fan
>            Priority: Major
>
> Currently it's not very clear how we should abstract data source v2 API. The 
> abstraction should be unified between batch and streaming, or similar but 
> have a well-defined difference between batch and streaming. And the 
> abstraction should also include catalog/table.
> An example of the abstraction:
> {code}
> batch: catalog -> table -> scan
> streaming: catalog -> table -> stream -> scan
> {code}
> We should refactor the data source v2 API according to the abstraction



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to