@@ -40,13 +40,15 @@ class CatalogIntegrationConfig(Protocol):
4040 catalog_name : Optional [str ]
4141 table_format : Optional [str ]
4242 external_volume : Optional [str ]
43+ file_format : Optional [str ]
4344 adapter_properties : Dict [str , Any ]
4445
4546
4647class CatalogRelation (Protocol ):
4748 catalog_name : Optional [str ]
4849 table_format : Optional [str ]
4950 external_volume : Optional [str ]
51+ file_format : Optional [str ]
5052
5153
5254class CatalogIntegration (abc .ABC ):
@@ -78,16 +80,17 @@ class CatalogIntegration(abc.ABC):
7880
7981 catalog_type : str
8082 table_format : Optional [str ] = None
83+ file_format : Optional [str ] = None
8184 allows_writes : bool = False
8285
8386 def __init__ (self , config : CatalogIntegrationConfig ) -> None :
8487 # table_format is often fixed for a catalog type, allow it to be defined at the class level
8588 if config .table_format is not None :
8689 self .table_format = config .table_format
87-
8890 self .name : str = config .name
8991 self .catalog_name : Optional [str ] = config .catalog_name
9092 self .external_volume : Optional [str ] = config .external_volume
93+ self .file_format : Optional [str ] = config .file_format
9194
9295 def build_relation (self , config : RelationConfig ) -> CatalogRelation :
9396 """
0 commit comments