-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-20844] Remove experimental from Structured Streaming APIs #18065
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 1 commit
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 |
|---|---|---|
|
|
@@ -21,17 +21,14 @@ | |
|
|
||
| import scala.concurrent.duration.Duration; | ||
|
|
||
| import org.apache.spark.annotation.Experimental; | ||
| import org.apache.spark.annotation.InterfaceStability; | ||
| import org.apache.spark.sql.execution.streaming.OneTimeTrigger$; | ||
|
|
||
| /** | ||
| * :: Experimental :: | ||
| * Policy used to indicate how often results should be produced by a [[StreamingQuery]]. | ||
| * | ||
| * @since 2.0.0 | ||
| */ | ||
| @Experimental | ||
| @InterfaceStability.Evolving | ||
| public class Trigger { | ||
|
|
||
|
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. This file has more places with ":: Experimental ::" in the scala docs |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,7 @@ import scala.reflect.runtime.universe.{typeTag, TypeTag} | |
| import scala.util.Try | ||
| import scala.util.control.NonFatal | ||
|
|
||
| import org.apache.spark.annotation.{Experimental, InterfaceStability} | ||
| import org.apache.spark.annotation.InterfaceStability | ||
| import org.apache.spark.sql.catalyst.ScalaReflection | ||
| import org.apache.spark.sql.catalyst.analysis.{Star, UnresolvedFunction} | ||
| import org.apache.spark.sql.catalyst.encoders.ExpressionEncoder | ||
|
|
@@ -2800,8 +2800,6 @@ object functions { | |
| * @group datetime_funcs | ||
| * @since 2.0.0 | ||
| */ | ||
| @Experimental | ||
| @InterfaceStability.Evolving | ||
|
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. did you intend to remove the
Contributor
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. Yes, I did. This has been out since 2.0 and works in batch, so I don't think we can change it at this point. |
||
| def window( | ||
| timeColumn: Column, | ||
| windowDuration: String, | ||
|
|
@@ -2854,8 +2852,6 @@ object functions { | |
| * @group datetime_funcs | ||
| * @since 2.0.0 | ||
| */ | ||
| @Experimental | ||
| @InterfaceStability.Evolving | ||
| def window(timeColumn: Column, windowDuration: String, slideDuration: String): Column = { | ||
| window(timeColumn, windowDuration, slideDuration, "0 second") | ||
| } | ||
|
|
@@ -2893,8 +2889,6 @@ object functions { | |
| * @group datetime_funcs | ||
| * @since 2.0.0 | ||
| */ | ||
| @Experimental | ||
| @InterfaceStability.Evolving | ||
| def window(timeColumn: Column, windowDuration: String): Column = { | ||
| window(timeColumn, windowDuration, windowDuration, "0 second") | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,7 +35,6 @@ import org.apache.spark.sql.types.StructType | |
| * | ||
| * @since 2.0.0 | ||
| */ | ||
| @Experimental | ||
|
Member
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. importing |
||
| @InterfaceStability.Evolving | ||
| final class DataStreamReader private[sql](sparkSession: SparkSession) extends Logging { | ||
| /** | ||
|
|
||
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.
The main title still says Experimental :P
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.
haha, good catch