@@ -140,6 +140,12 @@ def __setattr__(self, name, value):
140140 """
141141 Size of this table, in bytes.
142142 """
143+ TABLE_OBJECT_COUNT : ClassVar [NumericField ] = NumericField (
144+ "tableObjectCount" , "tableObjectCount"
145+ )
146+ """
147+ Number of objects in this table.
148+ """
143149 ALIAS : ClassVar [TextField ] = TextField ("alias" , "alias" )
144150 """
145151 Alias for this table.
@@ -196,6 +202,12 @@ def __setattr__(self, name, value):
196202 """
197203 Number of partitions in this table.
198204 """
205+ TABLE_DEFINITION : ClassVar [TextField ] = TextField (
206+ "tableDefinition" , "tableDefinition"
207+ )
208+ """
209+ Definition of the table.
210+ """
199211 PARTITION_LIST : ClassVar [TextField ] = TextField ("partitionList" , "partitionList" )
200212 """
201213 List of partitions in this table.
@@ -212,43 +224,49 @@ def __setattr__(self, name, value):
212224 "icebergCatalogName" , "icebergCatalogName"
213225 )
214226 """
215- iceberg table catalog name (can be any user defined name)
227+ Iceberg table catalog name (can be any user defined name)
216228 """
217229 ICEBERG_TABLE_TYPE : ClassVar [KeywordField ] = KeywordField (
218230 "icebergTableType" , "icebergTableType"
219231 )
220232 """
221- iceberg table type (managed vs unmanaged)
233+ Iceberg table type (managed vs unmanaged)
222234 """
223235 ICEBERG_CATALOG_SOURCE : ClassVar [KeywordField ] = KeywordField (
224236 "icebergCatalogSource" , "icebergCatalogSource"
225237 )
226238 """
227- iceberg table catalog type (glue, polaris, snowflake)
239+ Iceberg table catalog type (glue, polaris, snowflake)
228240 """
229241 ICEBERG_CATALOG_TABLE_NAME : ClassVar [KeywordField ] = KeywordField (
230242 "icebergCatalogTableName" , "icebergCatalogTableName"
231243 )
232244 """
233- catalog table name (actual table name on the catalog side).
245+ Catalog table name (actual table name on the catalog side).
246+ """
247+ TABLE_IMPALA_PARAMETERS : ClassVar [KeywordField ] = KeywordField (
248+ "tableImpalaParameters" , "tableImpalaParameters"
249+ )
250+ """
251+ Extra attributes for Impala
234252 """
235253 ICEBERG_CATALOG_TABLE_NAMESPACE : ClassVar [KeywordField ] = KeywordField (
236254 "icebergCatalogTableNamespace" , "icebergCatalogTableNamespace"
237255 )
238256 """
239- catalog table namespace (actual database name on the catalog side).
257+ Catalog table namespace (actual database name on the catalog side).
240258 """
241259 TABLE_EXTERNAL_VOLUME_NAME : ClassVar [KeywordField ] = KeywordField (
242260 "tableExternalVolumeName" , "tableExternalVolumeName"
243261 )
244262 """
245- external volume name for the table.
263+ External volume name for the table.
246264 """
247265 ICEBERG_TABLE_BASE_LOCATION : ClassVar [KeywordField ] = KeywordField (
248266 "icebergTableBaseLocation" , "icebergTableBaseLocation"
249267 )
250268 """
251- iceberg table base location inside the external volume.
269+ Iceberg table base location inside the external volume.
252270 """
253271 TABLE_RETENTION_TIME : ClassVar [NumericField ] = NumericField (
254272 "tableRetentionTime" , "tableRetentionTime"
@@ -422,6 +440,7 @@ def __setattr__(self, name, value):
422440 "column_count" ,
423441 "row_count" ,
424442 "size_bytes" ,
443+ "table_object_count" ,
425444 "alias" ,
426445 "is_temporary" ,
427446 "is_query_preview" ,
@@ -432,13 +451,15 @@ def __setattr__(self, name, value):
432451 "is_partitioned" ,
433452 "partition_strategy" ,
434453 "partition_count" ,
454+ "table_definition" ,
435455 "partition_list" ,
436456 "is_sharded" ,
437457 "table_type" ,
438458 "iceberg_catalog_name" ,
439459 "iceberg_table_type" ,
440460 "iceberg_catalog_source" ,
441461 "iceberg_catalog_table_name" ,
462+ "table_impala_parameters" ,
442463 "iceberg_catalog_table_namespace" ,
443464 "table_external_volume_name" ,
444465 "iceberg_table_base_location" ,
@@ -744,6 +765,16 @@ def size_bytes(self, size_bytes: Optional[int]):
744765 self .attributes = self .Attributes ()
745766 self .attributes .size_bytes = size_bytes
746767
768+ @property
769+ def table_object_count (self ) -> Optional [int ]:
770+ return None if self .attributes is None else self .attributes .table_object_count
771+
772+ @table_object_count .setter
773+ def table_object_count (self , table_object_count : Optional [int ]):
774+ if self .attributes is None :
775+ self .attributes = self .Attributes ()
776+ self .attributes .table_object_count = table_object_count
777+
747778 @property
748779 def alias (self ) -> Optional [str ]:
749780 return None if self .attributes is None else self .attributes .alias
@@ -852,6 +883,16 @@ def partition_count(self, partition_count: Optional[int]):
852883 self .attributes = self .Attributes ()
853884 self .attributes .partition_count = partition_count
854885
886+ @property
887+ def table_definition (self ) -> Optional [str ]:
888+ return None if self .attributes is None else self .attributes .table_definition
889+
890+ @table_definition .setter
891+ def table_definition (self , table_definition : Optional [str ]):
892+ if self .attributes is None :
893+ self .attributes = self .Attributes ()
894+ self .attributes .table_definition = table_definition
895+
855896 @property
856897 def partition_list (self ) -> Optional [str ]:
857898 return None if self .attributes is None else self .attributes .partition_list
@@ -928,6 +969,20 @@ def iceberg_catalog_table_name(self, iceberg_catalog_table_name: Optional[str]):
928969 self .attributes = self .Attributes ()
929970 self .attributes .iceberg_catalog_table_name = iceberg_catalog_table_name
930971
972+ @property
973+ def table_impala_parameters (self ) -> Optional [Dict [str , str ]]:
974+ return (
975+ None if self .attributes is None else self .attributes .table_impala_parameters
976+ )
977+
978+ @table_impala_parameters .setter
979+ def table_impala_parameters (
980+ self , table_impala_parameters : Optional [Dict [str , str ]]
981+ ):
982+ if self .attributes is None :
983+ self .attributes = self .Attributes ()
984+ self .attributes .table_impala_parameters = table_impala_parameters
985+
931986 @property
932987 def iceberg_catalog_table_namespace (self ) -> Optional [str ]:
933988 return (
@@ -1340,6 +1395,7 @@ class Attributes(CosmosMongoDB.Attributes):
13401395 column_count : Optional [int ] = Field (default = None , description = "" )
13411396 row_count : Optional [int ] = Field (default = None , description = "" )
13421397 size_bytes : Optional [int ] = Field (default = None , description = "" )
1398+ table_object_count : Optional [int ] = Field (default = None , description = "" )
13431399 alias : Optional [str ] = Field (default = None , description = "" )
13441400 is_temporary : Optional [bool ] = Field (default = None , description = "" )
13451401 is_query_preview : Optional [bool ] = Field (default = None , description = "" )
@@ -1352,13 +1408,17 @@ class Attributes(CosmosMongoDB.Attributes):
13521408 is_partitioned : Optional [bool ] = Field (default = None , description = "" )
13531409 partition_strategy : Optional [str ] = Field (default = None , description = "" )
13541410 partition_count : Optional [int ] = Field (default = None , description = "" )
1411+ table_definition : Optional [str ] = Field (default = None , description = "" )
13551412 partition_list : Optional [str ] = Field (default = None , description = "" )
13561413 is_sharded : Optional [bool ] = Field (default = None , description = "" )
13571414 table_type : Optional [TableType ] = Field (default = None , description = "" )
13581415 iceberg_catalog_name : Optional [str ] = Field (default = None , description = "" )
13591416 iceberg_table_type : Optional [str ] = Field (default = None , description = "" )
13601417 iceberg_catalog_source : Optional [str ] = Field (default = None , description = "" )
13611418 iceberg_catalog_table_name : Optional [str ] = Field (default = None , description = "" )
1419+ table_impala_parameters : Optional [Dict [str , str ]] = Field (
1420+ default = None , description = ""
1421+ )
13621422 iceberg_catalog_table_namespace : Optional [str ] = Field (
13631423 default = None , description = ""
13641424 )
0 commit comments