-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-26415][SQL] Mark StreamSinkProvider and StreamSourceProvider as stable #23354
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -111,13 +111,11 @@ trait SchemaRelationProvider { | |
| } | ||
|
|
||
| /** | ||
| * ::Experimental:: | ||
| * Implemented by objects that can produce a streaming `Source` for a specific format or system. | ||
| * | ||
| * @since 2.0.0 | ||
| */ | ||
| @Experimental | ||
| @Unstable | ||
| @Stable | ||
| trait StreamSourceProvider { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this is stable, I think
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Source and Sink do not have any annotations on them. Does that imply they are stable? Sink and Source are exposed/returned in the DataSource class today as well. I am happy to add a Stable annotation if that is your recommendation. |
||
|
|
||
| /** | ||
|
|
@@ -142,13 +140,11 @@ trait StreamSourceProvider { | |
| } | ||
|
|
||
| /** | ||
| * ::Experimental:: | ||
| * Implemented by objects that can produce a streaming `Sink` for a specific format or system. | ||
| * | ||
| * @since 2.0.0 | ||
| */ | ||
| @Experimental | ||
| @Unstable | ||
| @Stable | ||
| trait StreamSinkProvider { | ||
| def createSink( | ||
| sqlContext: SQLContext, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, unstable to stable sounds a big jump tho. Maybe
Evolvingor simply removingUnstablecan be a okay compromise if we're not sure on this.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @tdas and @zsxwing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@HyukjinKwon I don't think it makes sense to go through the motions step by step just for the sake of taking the steps. This interface has gone unchanged since Spark 2.2.0.