GitHub user rxin opened a pull request:
https://github.com/apache/spark/pull/20491
[SQL] Minor doc update: Add an example in DataFrameReader.schema
## What changes were proposed in this pull request?
This patch adds a small example to the schema string definition of schema
function. It isn't obvious how to use it, so an example would be useful.
## How was this patch tested?
N/A - doc only.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rxin/spark schema-doc
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20491.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 #20491
commit 69193dbd64e9e0002abd9a8cd6fe60c1c87bc471
Author: Reynold Xin
Date: 2018-02-02T23:00:39Z
[SQL] Minor doc update: Add an example in DataFrameReader.schema
commit e5e5e0b44e22f58736dd27e5c048395670574f18
Author: Reynold Xin
Date: 2018-02-02T23:02:26Z
fix typo
---
-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org