Skip to content

Commit bdc6056

Browse files
ymahajanrxin
authored andcommitted
Fixed typos in docs
## What changes were proposed in this pull request? Typos at a couple of place in the docs. ## How was this patch tested? build including docs Please review http://spark.apache.org/contributing.html before opening a pull request. Author: ymahajan <[email protected]> Closes #17690 from ymahajan/master.
1 parent dd6d55d commit bdc6056

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/sql-programming-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ be created by calling the `table` method on a `SparkSession` with the name of th
571571
For file-based data source, e.g. text, parquet, json, etc. you can specify a custom table path via the
572572
`path` option, e.g. `df.write.option("path", "/some/path").saveAsTable("t")`. When the table is dropped,
573573
the custom table path will not be removed and the table data is still there. If no custom table path is
574-
specifed, Spark will write data to a default table path under the warehouse directory. When the table is
574+
specified, Spark will write data to a default table path under the warehouse directory. When the table is
575575
dropped, the default table path will be removed too.
576576

577577
Starting from Spark 2.1, persistent datasource tables have per-partition metadata stored in the Hive metastore. This brings several benefits:

docs/structured-streaming-programming-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ windowedCounts = words \
778778
In this example, we are defining the watermark of the query on the value of the column "timestamp",
779779
and also defining "10 minutes" as the threshold of how late is the data allowed to be. If this query
780780
is run in Update output mode (discussed later in [Output Modes](#output-modes) section),
781-
the engine will keep updating counts of a window in the Resule Table until the window is older
781+
the engine will keep updating counts of a window in the Result Table until the window is older
782782
than the watermark, which lags behind the current event time in column "timestamp" by 10 minutes.
783783
Here is an illustration.
784784

0 commit comments

Comments
 (0)