Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Commit b5504f6

Browse files
felixcheungFelix Cheung
authored andcommitted
[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 <[email protected]> Closes apache#18312 from felixcheung/sqljsonwholefiledoc. (cherry picked from commit 1bf55e3) Signed-off-by: Felix Cheung <[email protected]>
1 parent af4f89c commit b5504f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/sql-programming-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ Note that the file that is offered as _a json file_ is not a typical JSON file.
998998
line must contain a separate, self-contained valid JSON object. For more information, please see
999999
[JSON Lines text format, also called newline-delimited JSON](http://jsonlines.org/).
10001000

1001-
For a regular multi-line JSON file, set the `wholeFile` option to `true`.
1001+
For a regular multi-line JSON file, set the `multiLine` option to `true`.
10021002

10031003
{% include_example json_dataset scala/org/apache/spark/examples/sql/SQLDataSourceExample.scala %}
10041004
</div>
@@ -1012,7 +1012,7 @@ Note that the file that is offered as _a json file_ is not a typical JSON file.
10121012
line must contain a separate, self-contained valid JSON object. For more information, please see
10131013
[JSON Lines text format, also called newline-delimited JSON](http://jsonlines.org/).
10141014

1015-
For a regular multi-line JSON file, set the `wholeFile` option to `true`.
1015+
For a regular multi-line JSON file, set the `multiLine` option to `true`.
10161016

10171017
{% include_example json_dataset java/org/apache/spark/examples/sql/JavaSQLDataSourceExample.java %}
10181018
</div>
@@ -1025,7 +1025,7 @@ Note that the file that is offered as _a json file_ is not a typical JSON file.
10251025
line must contain a separate, self-contained valid JSON object. For more information, please see
10261026
[JSON Lines text format, also called newline-delimited JSON](http://jsonlines.org/).
10271027

1028-
For a regular multi-line JSON file, set the `wholeFile` parameter to `True`.
1028+
For a regular multi-line JSON file, set the `multiLine` parameter to `True`.
10291029

10301030
{% include_example json_dataset python/sql/datasource.py %}
10311031
</div>
@@ -1039,7 +1039,7 @@ Note that the file that is offered as _a json file_ is not a typical JSON file.
10391039
line must contain a separate, self-contained valid JSON object. For more information, please see
10401040
[JSON Lines text format, also called newline-delimited JSON](http://jsonlines.org/).
10411041

1042-
For a regular multi-line JSON file, set a named parameter `wholeFile` to `TRUE`.
1042+
For a regular multi-line JSON file, set a named parameter `multiLine` to `TRUE`.
10431043

10441044
{% include_example json_dataset r/RSparkSQLExample.R %}
10451045

0 commit comments

Comments
 (0)