You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2019/10/09 16:02:01 UTC

[incubator-iceberg] branch master updated: Docs: Fix typos (#523)

This is an automated email from the ASF dual-hosted git repository.

blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 79a7b69  Docs: Fix typos (#523)
79a7b69 is described below

commit 79a7b69664cf54b13133513c0ad79bdadcb78adb
Author: Benjamin Tsai <he...@benjamintsai.com>
AuthorDate: Wed Oct 9 09:01:56 2019 -0700

    Docs: Fix typos (#523)
---
 site/docs/partitioning.md | 2 +-
 site/docs/reliability.md  | 2 +-
 site/docs/spark.md        | 4 ++--
 site/docs/spec.md         | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/site/docs/partitioning.md b/site/docs/partitioning.md
index f5d0019..5086ceb 100644
--- a/site/docs/partitioning.md
+++ b/site/docs/partitioning.md
@@ -47,7 +47,7 @@ If the `event_date` filter were missing, Hive would scan through every file in t
 
 ### Problems with Hive partitioning
 
-Hive must be given partition values. In the logs example, it doesn't know the relationship bewteen `event_time` and `event_date`.
+Hive must be given partition values. In the logs example, it doesn't know the relationship between `event_time` and `event_date`.
 
 This leads to several problems:
 
diff --git a/site/docs/reliability.md b/site/docs/reliability.md
index 7d31394..a3ed7e6 100644
--- a/site/docs/reliability.md
+++ b/site/docs/reliability.md
@@ -32,7 +32,7 @@ If the atomic swap fails because another writer has committed, the failed writer
 
 ### Cost of retries
 
-Writers avoid expensive retry operaitions by structuring changes so that work can be reused across retries.
+Writers avoid expensive retry operations by structuring changes so that work can be reused across retries.
 
 For example, appends usually create a new manifest file for the appended data files, which can be added to the table without rewriting the manifest on every attempt.
 
diff --git a/site/docs/spark.md b/site/docs/spark.md
index 67a5243..faabc19 100644
--- a/site/docs/spark.md
+++ b/site/docs/spark.md
@@ -185,7 +185,7 @@ order by made_current_at
 
 #### Manifests
 
-To show the a table's file manifests and each file's metadata, run:
+To show a table's file manifests and each file's metadata, run:
 
 ```scala
 spark.read.format("iceberg").load("db.table.manifests").show(truncate = false)
@@ -200,7 +200,7 @@ spark.read.format("iceberg").load("db.table.manifests").show(truncate = false)
 
 #### Files
 
-To show the a table's data files and each file's metadata, run:
+To show a table's data files and each file's metadata, run:
 
 ```scala
 spark.read.format("iceberg").load("db.table.files").show(truncate = false)
diff --git a/site/docs/spec.md b/site/docs/spec.md
index 756621e..b4e299e 100644
--- a/site/docs/spec.md
+++ b/site/docs/spec.md
@@ -79,7 +79,7 @@ A **`map`** is a collection of key-value pairs with a key type and a value type.
 | **`long`**         | 64-bit signed integers                                                   |                                                  |
 | **`float`**        | [32-bit IEEE 754](https://en.wikipedia.org/wiki/IEEE_754) floating point | Can promote to double                            |
 | **`double`**       | [64-bit IEEE 754](https://en.wikipedia.org/wiki/IEEE_754) floating point |                                                  |
-| **`decimal(P,S)`** | Fixed-point decimal; precision P, scale S                                | Scale is fixed [1], Precision must be 38 or less |
+| **`decimal(P,S)`** | Fixed-point decimal; precision P, scale S                                | Scale is fixed [1], precision must be 38 or less |
 | **`date`**         | Calendar date without timezone or time                                   |                                                  |
 | **`time`**         | Time of day without date, timezone                                       | Microsecond precision [2]                        |
 | **`timestamp`**    | Timestamp without timezone                                               | Microsecond precision [2]                        |
@@ -265,7 +265,7 @@ Valid snapshots are stored as a list in table metadata. For serialization, see A
 
 Scans are planned by reading the manifest files for the current snapshot listed in the table metadata. Deleted entries in a manifest are not included in the scan.
 
-For each manifest, scan predicates, which filter data rows, are converted to partition predicates, which filter data files. These partition predicates are used select the data files in the manifest. This conversion uses the partition spec used to write the manifest file.
+For each manifest, scan predicates, which filter data rows, are converted to partition predicates, which filter data files. These partition predicates are used to select the data files in the manifest. This conversion uses the partition spec used to write the manifest file.
 
 Scan predicates are converted to partition predicates using an inclusive projection: if a scan predicate matches a row, then the partition predicate must match that row’s partition. This is an _inclusive projection_ [1] because rows that do not match the scan predicate may be included in the scan by the partition predicate.