File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
sdk/python/feast/infra/offline_stores Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -202,10 +202,9 @@ def get_table_column_names_and_types(
202202 "AWS_ENDPOINT_URL" : str (self .s3_endpoint_override ),
203203 }
204204
205- delta_schema = (
206- DeltaTable (self .path , storage_options = storage_options )
207- .schema ()
208- )
205+ delta_schema = DeltaTable (
206+ self .path , storage_options = storage_options
207+ ).schema ()
209208 if hasattr (delta_schema , "to_arrow" ):
210209 # deltalake >= 0.10.0
211210 arro3_schema = delta_schema .to_arrow ()
@@ -214,7 +213,7 @@ def get_table_column_names_and_types(
214213 # deltalake < 0.10.0
215214 schema = delta_schema .to_pyarrow ()
216215 else :
217- raise Exception (f "Unknown DeltaTable package version" )
216+ raise Exception ("Unknown DeltaTable package version" )
218217 else :
219218 raise Exception (f"Unknown FileFormat -> { self .file_format } " )
220219
You can’t perform that action at this time.
0 commit comments