Skip to content

Commit 05d8816

Browse files
Only relevant changes
1 parent a4c8b6c commit 05d8816

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyiceberg/table/update/schema.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ def union_by_name(self, new_schema: Union[Schema, "pa.Schema"]) -> UpdateSchema:
174174
)
175175
return self
176176

177-
def add_column(self, path: Union[str, Tuple[str, ...]], field_type: IcebergType, doc: Optional[str] = None, required: bool = False) -> UpdateSchema:
177+
def add_column(
178+
self, path: Union[str, Tuple[str, ...]], field_type: IcebergType, doc: Optional[str] = None, required: bool = False
179+
) -> UpdateSchema:
178180
"""Add a new column to a nested struct or Add a new top-level column.
179181
180182
Because "." may be interpreted as a column path separator or may be used in field names, it

0 commit comments

Comments
 (0)