[SPARK-16268][PySpark]SQLContext should import DataStreamReader#13958
Closed
zsxwing wants to merge 1 commit intoapache:masterfrom
zsxwing:fix-import
Closed
[SPARK-16268][PySpark]SQLContext should import DataStreamReader#13958zsxwing wants to merge 1 commit intoapache:masterfrom zsxwing:fix-import
zsxwing wants to merge 1 commit intoapache:masterfrom
zsxwing:fix-import
Conversation
Member
Author
Contributor
|
LGTM pending tests |
|
Test build #61424 has finished for PR 13958 at commit
|
Contributor
|
My patch #13955 has the partial fix, but I realized that there are no tests so my patch did not actually fix this. Let merge this and then update my patch. Merging this to master and 2.0. |
asfgit
pushed a commit
that referenced
this pull request
Jun 29, 2016
## What changes were proposed in this pull request?
Fixed the following error:
```
>>> sqlContext.readStream
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "...", line 442, in readStream
return DataStreamReader(self._wrapped)
NameError: global name 'DataStreamReader' is not defined
```
## How was this patch tested?
The added test.
Author: Shixiong Zhu <shixiong@databricks.com>
Closes #13958 from zsxwing/fix-import.
(cherry picked from commit 5bf8881)
Signed-off-by: Tathagata Das <tathagata.das1565@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Fixed the following error:
How was this patch tested?
The added test.