GitHub user lw-lin opened a pull request:
https://github.com/apache/spark/pull/16442
[SPARK-19041[SS] Fix code snippet compilation issues in Structured
Streaming Programming Guide
## What changes were proposed in this pull request?
Currently some code snippets in the programming guide just do not compile.
We should fix them.
## How was this patch tested?
```
SKIP_API=1 jekyll build
```
Screenshot after some piece of change from this patch:

You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lw-lin/spark ss-pro-guide-
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16442.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #16442
----
commit c029e25b1f018d533412da08c00f224f94736b05
Author: Liwei Lin <[email protected]>
Date: 2016-12-31T07:29:43Z
Fixes
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]