Skip to content

Commit 9507649

Browse files
committed
Add renaming
1 parent 4b40d56 commit 9507649

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyiceberg/view/metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from pyiceberg.types import transform_dict_value_to_str
2626

2727

28-
class ViewRepresentation(IcebergBaseModel):
28+
class SQLViewRepresentation(IcebergBaseModel):
2929
"""Represents the SQL query that defines the view."""
3030

3131
type: Literal["sql"] = Field()
@@ -47,7 +47,7 @@ class ViewVersion(IcebergBaseModel):
4747
"""Timestamp when the version was created (ms from epoch)"""
4848
summary: Dict[str, str] = Field()
4949
"""A string to string map of summary metadata about the version"""
50-
representations: List[ViewRepresentation] = Field()
50+
representations: List[SQLViewRepresentation] = Field()
5151
"""A list of representations for the view definition"""
5252
default_catalog: Optional[str] = Field(alias="default-catalog", default=None)
5353
"""Catalog name to use when a reference in the SELECT does not contain a catalog"""

0 commit comments

Comments
 (0)