From 1bb379b88e9d5f88773deb0f1bb8f70a57127cb5 Mon Sep 17 00:00:00 2001 From: Sreesh Maheshwar Date: Mon, 23 Dec 2024 13:51:59 -0500 Subject: [PATCH] Fix typo in comment --- tests/table/test_partitioning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/table/test_partitioning.py b/tests/table/test_partitioning.py index 4c28a3945..127d57a79 100644 --- a/tests/table/test_partitioning.py +++ b/tests/table/test_partitioning.py @@ -135,7 +135,7 @@ def test_partition_spec_to_path() -> None: record = Record(**{"my#str%bucket": "my+str", "other str+bucket": "( )", "my!int:bucket": 10}) # type: ignore - # Both partition names fields and values should be URL encoded, with spaces mapping to plus signs, to match the Java + # Both partition field names and values should be URL encoded, with spaces mapping to plus signs, to match the Java # behaviour: https://github.com/apache/iceberg/blob/ca3db931b0f024f0412084751ac85dd4ef2da7e7/api/src/main/java/org/apache/iceberg/PartitionSpec.java#L198-L204 assert spec.partition_to_path(record, schema) == "my%23str%25bucket=my%2Bstr/other+str%2Bbucket=%28+%29/my%21int%3Abucket=10"