Skip to content
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

[SPARK-13166][SQL] Remove DataStreamReader/Writer #11062

Closed
wants to merge 2 commits into from

Conversation

rxin
Copy link
Contributor

@rxin rxin commented Feb 3, 2016

They seem redundant and we can simply use DataFrameReader/Writer. The new usage looks like:

val df = sqlContext.read.stream("...")
val handle = df.write.stream("...")
handle.stop()

@@ -184,6 +185,34 @@ final class DataFrameWriter private[sql](df: DataFrame) {
}

/**
* Starts the execution of the streaming query, which will continually output results to the given
* path as new data arrives. The returned [[ContinuousQuery]] object can be used to interact with
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra space

@SparkQA
Copy link

SparkQA commented Feb 4, 2016

Test build #50693 has finished for PR 11062 at commit 7528abb.

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

@marmbrus
Copy link
Contributor

marmbrus commented Feb 4, 2016

LGTM, merging to master.

@asfgit asfgit closed this in 915a753 Feb 4, 2016
asfgit pushed a commit that referenced this pull request Feb 5, 2016
…derWriterSuite

A follow up PR for #11062 because it didn't rename the test suite.

Author: Shixiong Zhu <shixiong@databricks.com>

Closes #11096 from zsxwing/rename.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants