Repository: spark
Updated Branches:
  refs/heads/branch-2.2 af4f89c98 -> b5504f6d3


[SPARK-20980][DOCS] update doc to reflect multiLine change

## What changes were proposed in this pull request?

doc only change

## How was this patch tested?

manually

Author: Felix Cheung <felixcheun...@hotmail.com>

Closes #18312 from felixcheung/sqljsonwholefiledoc.

(cherry picked from commit 1bf55e396c7b995a276df61d9a4eb8e60bcee334)
Signed-off-by: Felix Cheung <felixche...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/b5504f6d
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/b5504f6d
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/b5504f6d

Branch: refs/heads/branch-2.2
Commit: b5504f6d3fc375eecb131460c8b01e0be18f4e9b
Parents: af4f89c
Author: Felix Cheung <felixcheun...@hotmail.com>
Authored: Wed Jun 14 23:08:05 2017 -0700
Committer: Felix Cheung <felixche...@apache.org>
Committed: Wed Jun 14 23:08:18 2017 -0700

----------------------------------------------------------------------
 docs/sql-programming-guide.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/b5504f6d/docs/sql-programming-guide.md
----------------------------------------------------------------------
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md
index 314ff6e..8e722ae 100644
--- a/docs/sql-programming-guide.md
+++ b/docs/sql-programming-guide.md
@@ -998,7 +998,7 @@ Note that the file that is offered as _a json file_ is not 
a typical JSON file.
 line must contain a separate, self-contained valid JSON object. For more 
information, please see
 [JSON Lines text format, also called newline-delimited 
JSON](http://jsonlines.org/).
 
-For a regular multi-line JSON file, set the `wholeFile` option to `true`.
+For a regular multi-line JSON file, set the `multiLine` option to `true`.
 
 {% include_example json_dataset 
scala/org/apache/spark/examples/sql/SQLDataSourceExample.scala %}
 </div>
@@ -1012,7 +1012,7 @@ Note that the file that is offered as _a json file_ is 
not a typical JSON file.
 line must contain a separate, self-contained valid JSON object. For more 
information, please see
 [JSON Lines text format, also called newline-delimited 
JSON](http://jsonlines.org/).
 
-For a regular multi-line JSON file, set the `wholeFile` option to `true`.
+For a regular multi-line JSON file, set the `multiLine` option to `true`.
 
 {% include_example json_dataset 
java/org/apache/spark/examples/sql/JavaSQLDataSourceExample.java %}
 </div>
@@ -1025,7 +1025,7 @@ Note that the file that is offered as _a json file_ is 
not a typical JSON file.
 line must contain a separate, self-contained valid JSON object. For more 
information, please see
 [JSON Lines text format, also called newline-delimited 
JSON](http://jsonlines.org/).
 
-For a regular multi-line JSON file, set the `wholeFile` parameter to `True`.
+For a regular multi-line JSON file, set the `multiLine` parameter to `True`.
 
 {% include_example json_dataset python/sql/datasource.py %}
 </div>
@@ -1039,7 +1039,7 @@ Note that the file that is offered as _a json file_ is 
not a typical JSON file.
 line must contain a separate, self-contained valid JSON object. For more 
information, please see
 [JSON Lines text format, also called newline-delimited 
JSON](http://jsonlines.org/).
 
-For a regular multi-line JSON file, set a named parameter `wholeFile` to 
`TRUE`.
+For a regular multi-line JSON file, set a named parameter `multiLine` to 
`TRUE`.
 
 {% include_example json_dataset r/RSparkSQLExample.R %}
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to