Skip to content

[SPARK-27579][SQL] remove BaseStreamingSource and BaseStreamingSink #24471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

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 <wenchen@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
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