File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525from 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"""
You can’t perform that action at this time.
0 commit comments