diff --git a/pyiceberg/partitioning.py b/pyiceberg/partitioning.py index cee85db9c..181377221 100644 --- a/pyiceberg/partitioning.py +++ b/pyiceberg/partitioning.py @@ -234,9 +234,7 @@ def partition_to_path(self, data: Record, schema: Schema) -> str: partition_field = self.fields[pos] value_str = partition_field.transform.to_human_string(field_types[pos].field_type, value=data[pos]) - value_str = quote_plus(value_str, safe="") - value_strs.append(value_str) - + value_strs.append(quote_plus(value_str, safe="")) field_strs.append(quote_plus(partition_field.name, safe="")) path = "/".join([field_str + "=" + value_str for field_str, value_str in zip(field_strs, value_strs)])