You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by fo...@apache.org on 2024/12/27 06:40:44 UTC
(iceberg-python) branch main updated: docs: various spelling fixes (#1471)
This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
The following commit(s) were added to refs/heads/main by this push:
new f5bdae84 docs: various spelling fixes (#1471)
f5bdae84 is described below
commit f5bdae84f49a07056ba97db973d668a81f78f795
Author: Tyler White <50...@users.noreply.github.com>
AuthorDate: Fri Dec 27 01:40:39 2024 -0500
docs: various spelling fixes (#1471)
---
mkdocs/docs/api.md | 2 +-
mkdocs/docs/how-to-release.md | 2 +-
mkdocs/docs/verify-release.md | 2 +-
pyiceberg/table/__init__.py | 2 +-
pyiceberg/utils/decimal.py | 2 +-
tests/integration/test_writes/test_partitioned_writes.py | 6 +++---
tests/table/test_init.py | 2 +-
7 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/mkdocs/docs/api.md b/mkdocs/docs/api.md
index 7aa41590..9c487188 100644
--- a/mkdocs/docs/api.md
+++ b/mkdocs/docs/api.md
@@ -1005,7 +1005,7 @@ tbl.add_files(file_paths=file_paths)
## Schema evolution
-PyIceberg supports full schema evolution through the Python API. It takes care of setting the field-IDs and makes sure that only non-breaking changes are done (can be overriden).
+PyIceberg supports full schema evolution through the Python API. It takes care of setting the field-IDs and makes sure that only non-breaking changes are done (can be overridden).
In the examples below, the `.update_schema()` is called from the table itself.
diff --git a/mkdocs/docs/how-to-release.md b/mkdocs/docs/how-to-release.md
index bea55487..c44f56a9 100644
--- a/mkdocs/docs/how-to-release.md
+++ b/mkdocs/docs/how-to-release.md
@@ -31,7 +31,7 @@ This guide outlines the process for releasing PyIceberg in accordance with the [
* A GPG key must be registered and published in the [Apache Iceberg KEYS file](https://downloads.apache.org/iceberg/KEYS). Follow [the instructions for setting up a GPG key and uploading it to the KEYS file](#set-up-gpg-key-and-upload-to-apache-iceberg-keys-file).
* SVN Access
- * Permission to upload artifacts to the [Apache development distribution](https://dist.apache.org/repos/dist/dev/iceberg/) (requires Apache Commmitter access).
+ * Permission to upload artifacts to the [Apache development distribution](https://dist.apache.org/repos/dist/dev/iceberg/) (requires Apache Committer access).
* Permission to upload artifacts to the [Apache release distribution](https://dist.apache.org/repos/dist/release/iceberg/) (requires Apache PMC access).
* PyPI Access
* The `twine` package must be installed for uploading releases to PyPi.
diff --git a/mkdocs/docs/verify-release.md b/mkdocs/docs/verify-release.md
index 07e4c32a..6148bfeb 100644
--- a/mkdocs/docs/verify-release.md
+++ b/mkdocs/docs/verify-release.md
@@ -111,7 +111,7 @@ To run the full test coverage, with both unit tests and integration tests:
make test-coverage
```
-This will spin up Docker containers to faciliate running test coverage.
+This will spin up Docker containers to facilitate running test coverage.
# Cast the vote
diff --git a/pyiceberg/table/__init__.py b/pyiceberg/table/__init__.py
index 4ec3403b..2469a9ed 100644
--- a/pyiceberg/table/__init__.py
+++ b/pyiceberg/table/__init__.py
@@ -902,7 +902,7 @@ class Table:
Args:
row_filter:
- A string or BooleanExpression that decsribes the
+ A string or BooleanExpression that describes the
desired rows
selected_fields:
A tuple of strings representing the column names
diff --git a/pyiceberg/utils/decimal.py b/pyiceberg/utils/decimal.py
index 4432564d..99638d2a 100644
--- a/pyiceberg/utils/decimal.py
+++ b/pyiceberg/utils/decimal.py
@@ -85,7 +85,7 @@ def bytes_to_decimal(value: bytes, scale: int) -> Decimal:
"""Return a decimal from the bytes.
Args:
- value (bytes): tbe bytes to be converted into a decimal.
+ value (bytes): the bytes to be converted into a decimal.
scale (int): the scale of the decimal.
Returns:
diff --git a/tests/integration/test_writes/test_partitioned_writes.py b/tests/integration/test_writes/test_partitioned_writes.py
index b92c3389..8a3a5c9a 100644
--- a/tests/integration/test_writes/test_partitioned_writes.py
+++ b/tests/integration/test_writes/test_partitioned_writes.py
@@ -395,7 +395,7 @@ def test_dynamic_partition_overwrite_unpartitioned_evolve_to_identity_transform(
# For a long string, the lower bound and upper bound is truncated
# e.g. aaaaaaaaaaaaaaaaaaaaaa has lower bound of aaaaaaaaaaaaaaaa and upper bound of aaaaaaaaaaaaaaab
# this makes strict metric evaluator determine the file evaluate as ROWS_MIGHT_NOT_MATCH
- # this further causes the partitioned data file to be overwriten rather than deleted
+ # this further causes the partitioned data file to be overwritten rather than deleted
if part_col == "string_long":
expected_operations = ["append", "append", "overwrite", "append"]
assert tbl.inspect.snapshots().to_pydict()["operation"] == expected_operations
@@ -539,7 +539,7 @@ def test_data_files_with_table_partitioned_with_null(
# the first snapshot generates M3 with 6 delete data entries collected from M1 and M2.
# ML3 = [M3]
#
- # The second snapshot generates M4 with 3 appended data entries and since M3 (previous manifests) only has delte entries it does not lint to it.
+ # The second snapshot generates M4 with 3 appended data entries and since M3 (previous manifests) only has delete entries it does not lint to it.
# ML4 = [M4]
# Append : Append generates M5 with new data entries and links to all previous manifests which is M4 .
@@ -552,7 +552,7 @@ def test_data_files_with_table_partitioned_with_null(
# ML6 = [M6, M7, M8]
#
# The second snapshot generates M9 with 3 appended data entries and it also looks at manifests in ML6 (previous manifests)
- # it ignores M6 since it only has delte entries but it links to M7 and M8.
+ # it ignores M6 since it only has delete entries but it links to M7 and M8.
# ML7 = [M9, M7, M8]
# tldr:
diff --git a/tests/table/test_init.py b/tests/table/test_init.py
index bdc3d030..397fa9f5 100644
--- a/tests/table/test_init.py
+++ b/tests/table/test_init.py
@@ -527,7 +527,7 @@ def test_update_column(table_v1: Table, table_v2: Table) -> None:
new_schema = table.transaction().update_schema().update_column("y", doc=COMMENT2)._apply()
assert new_schema.find_field("y").doc == COMMENT2, "failed to update existing field doc"
- # update existing doc to an emtpy string
+ # update existing doc to an empty string
assert new_schema.find_field("y").doc == COMMENT2
new_schema2 = table.transaction().update_schema().update_column("y", doc="")._apply()
assert new_schema2.find_field("y").doc == "", "failed to remove existing field doc"