@@ -140,6 +140,12 @@ def __setattr__(self, name, value):
140
140
"""
141
141
Size of this table, in bytes.
142
142
"""
143
+ TABLE_OBJECT_COUNT : ClassVar [NumericField ] = NumericField (
144
+ "tableObjectCount" , "tableObjectCount"
145
+ )
146
+ """
147
+ Number of objects in this table.
148
+ """
143
149
ALIAS : ClassVar [TextField ] = TextField ("alias" , "alias" )
144
150
"""
145
151
Alias for this table.
@@ -196,6 +202,12 @@ def __setattr__(self, name, value):
196
202
"""
197
203
Number of partitions in this table.
198
204
"""
205
+ TABLE_DEFINITION : ClassVar [TextField ] = TextField (
206
+ "tableDefinition" , "tableDefinition"
207
+ )
208
+ """
209
+ Definition of the table.
210
+ """
199
211
PARTITION_LIST : ClassVar [TextField ] = TextField ("partitionList" , "partitionList" )
200
212
"""
201
213
List of partitions in this table.
@@ -212,43 +224,49 @@ def __setattr__(self, name, value):
212
224
"icebergCatalogName" , "icebergCatalogName"
213
225
)
214
226
"""
215
- iceberg table catalog name (can be any user defined name)
227
+ Iceberg table catalog name (can be any user defined name)
216
228
"""
217
229
ICEBERG_TABLE_TYPE : ClassVar [KeywordField ] = KeywordField (
218
230
"icebergTableType" , "icebergTableType"
219
231
)
220
232
"""
221
- iceberg table type (managed vs unmanaged)
233
+ Iceberg table type (managed vs unmanaged)
222
234
"""
223
235
ICEBERG_CATALOG_SOURCE : ClassVar [KeywordField ] = KeywordField (
224
236
"icebergCatalogSource" , "icebergCatalogSource"
225
237
)
226
238
"""
227
- iceberg table catalog type (glue, polaris, snowflake)
239
+ Iceberg table catalog type (glue, polaris, snowflake)
228
240
"""
229
241
ICEBERG_CATALOG_TABLE_NAME : ClassVar [KeywordField ] = KeywordField (
230
242
"icebergCatalogTableName" , "icebergCatalogTableName"
231
243
)
232
244
"""
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
234
252
"""
235
253
ICEBERG_CATALOG_TABLE_NAMESPACE : ClassVar [KeywordField ] = KeywordField (
236
254
"icebergCatalogTableNamespace" , "icebergCatalogTableNamespace"
237
255
)
238
256
"""
239
- catalog table namespace (actual database name on the catalog side).
257
+ Catalog table namespace (actual database name on the catalog side).
240
258
"""
241
259
TABLE_EXTERNAL_VOLUME_NAME : ClassVar [KeywordField ] = KeywordField (
242
260
"tableExternalVolumeName" , "tableExternalVolumeName"
243
261
)
244
262
"""
245
- external volume name for the table.
263
+ External volume name for the table.
246
264
"""
247
265
ICEBERG_TABLE_BASE_LOCATION : ClassVar [KeywordField ] = KeywordField (
248
266
"icebergTableBaseLocation" , "icebergTableBaseLocation"
249
267
)
250
268
"""
251
- iceberg table base location inside the external volume.
269
+ Iceberg table base location inside the external volume.
252
270
"""
253
271
TABLE_RETENTION_TIME : ClassVar [NumericField ] = NumericField (
254
272
"tableRetentionTime" , "tableRetentionTime"
@@ -422,6 +440,7 @@ def __setattr__(self, name, value):
422
440
"column_count" ,
423
441
"row_count" ,
424
442
"size_bytes" ,
443
+ "table_object_count" ,
425
444
"alias" ,
426
445
"is_temporary" ,
427
446
"is_query_preview" ,
@@ -432,13 +451,15 @@ def __setattr__(self, name, value):
432
451
"is_partitioned" ,
433
452
"partition_strategy" ,
434
453
"partition_count" ,
454
+ "table_definition" ,
435
455
"partition_list" ,
436
456
"is_sharded" ,
437
457
"table_type" ,
438
458
"iceberg_catalog_name" ,
439
459
"iceberg_table_type" ,
440
460
"iceberg_catalog_source" ,
441
461
"iceberg_catalog_table_name" ,
462
+ "table_impala_parameters" ,
442
463
"iceberg_catalog_table_namespace" ,
443
464
"table_external_volume_name" ,
444
465
"iceberg_table_base_location" ,
@@ -744,6 +765,16 @@ def size_bytes(self, size_bytes: Optional[int]):
744
765
self .attributes = self .Attributes ()
745
766
self .attributes .size_bytes = size_bytes
746
767
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
+
747
778
@property
748
779
def alias (self ) -> Optional [str ]:
749
780
return None if self .attributes is None else self .attributes .alias
@@ -852,6 +883,16 @@ def partition_count(self, partition_count: Optional[int]):
852
883
self .attributes = self .Attributes ()
853
884
self .attributes .partition_count = partition_count
854
885
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
+
855
896
@property
856
897
def partition_list (self ) -> Optional [str ]:
857
898
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]):
928
969
self .attributes = self .Attributes ()
929
970
self .attributes .iceberg_catalog_table_name = iceberg_catalog_table_name
930
971
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
+
931
986
@property
932
987
def iceberg_catalog_table_namespace (self ) -> Optional [str ]:
933
988
return (
@@ -1340,6 +1395,7 @@ class Attributes(CosmosMongoDB.Attributes):
1340
1395
column_count : Optional [int ] = Field (default = None , description = "" )
1341
1396
row_count : Optional [int ] = Field (default = None , description = "" )
1342
1397
size_bytes : Optional [int ] = Field (default = None , description = "" )
1398
+ table_object_count : Optional [int ] = Field (default = None , description = "" )
1343
1399
alias : Optional [str ] = Field (default = None , description = "" )
1344
1400
is_temporary : Optional [bool ] = Field (default = None , description = "" )
1345
1401
is_query_preview : Optional [bool ] = Field (default = None , description = "" )
@@ -1352,13 +1408,17 @@ class Attributes(CosmosMongoDB.Attributes):
1352
1408
is_partitioned : Optional [bool ] = Field (default = None , description = "" )
1353
1409
partition_strategy : Optional [str ] = Field (default = None , description = "" )
1354
1410
partition_count : Optional [int ] = Field (default = None , description = "" )
1411
+ table_definition : Optional [str ] = Field (default = None , description = "" )
1355
1412
partition_list : Optional [str ] = Field (default = None , description = "" )
1356
1413
is_sharded : Optional [bool ] = Field (default = None , description = "" )
1357
1414
table_type : Optional [TableType ] = Field (default = None , description = "" )
1358
1415
iceberg_catalog_name : Optional [str ] = Field (default = None , description = "" )
1359
1416
iceberg_table_type : Optional [str ] = Field (default = None , description = "" )
1360
1417
iceberg_catalog_source : Optional [str ] = Field (default = None , description = "" )
1361
1418
iceberg_catalog_table_name : Optional [str ] = Field (default = None , description = "" )
1419
+ table_impala_parameters : Optional [Dict [str , str ]] = Field (
1420
+ default = None , description = ""
1421
+ )
1362
1422
iceberg_catalog_table_namespace : Optional [str ] = Field (
1363
1423
default = None , description = ""
1364
1424
)
0 commit comments