Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

BaseStreamingSource and BaseStreamingSink is used to unify v1 and v2 streaming data source API in some code paths.

This PR removes these 2 interfaces, and let the v1 API extend v2 API to keep API compatibility.

The motivation is #24416 . We want to move data source v2 to catalyst module, but BaseStreamingSource and BaseStreamingSink are in sql/core.

How was this patch tested?

existing tests

@cloud-fan
Copy link
Contributor Author

cloud-fan commented Apr 26, 2019

cc @jose-torres @rdblue @gatorsmile

@SparkQA
Copy link

SparkQA commented Apr 26, 2019

Test build #104940 has finished for PR 24471 at commit 71520aa.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@gatorsmile
Copy link
Member

cc @jose-torres Please help review this PR.

@jose-torres
Copy link
Contributor

lgtm

@SparkQA
Copy link

SparkQA commented May 6, 2019

Test build #105140 has finished for PR 24471 at commit 42b9dcb.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@cloud-fan
Copy link
Contributor Author

thanks, merging to master!

@cloud-fan cloud-fan closed this in 6ef4530 May 6, 2019
mccheah pushed a commit to palantir/spark that referenced this pull request Jun 6, 2019
## What changes were proposed in this pull request?

`BaseStreamingSource` and `BaseStreamingSink` is used to unify v1 and v2 streaming data source API in some code paths.

This PR removes these 2 interfaces, and let the v1 API extend v2 API to keep API compatibility.

The motivation is apache#24416 . We want to move data source v2 to catalyst module, but `BaseStreamingSource` and `BaseStreamingSink` are in sql/core.

## How was this patch tested?

existing tests

Closes apache#24471 from cloud-fan/streaming.

Authored-by: Wenchen Fan <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants