Skip to content

Commit 2b3638a

Browse files
committed
tmp 2
1 parent a7df45a commit 2b3638a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: python/hsfs/engine/spark.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def register_external_temporary_table(self, external_fg, alias):
195195
external_fg.options,
196196
external_fg.get_uri(),
197197
)
198-
elif isinstance(external_fg, fg_mod.SpineGroup):
198+
else:
199199
external_dataset = external_fg.dataframe
200200
if external_fg.location:
201201
self._spark_session.sparkContext.textFile(external_fg.location).collect()
@@ -219,9 +219,10 @@ def register_hudi_temporary_table(
219219
read_options,
220220
)
221221

222-
hudi_engine_instance.reconcile_hudi_schema(
223-
self.save_empty_dataframe, hudi_fg_alias, read_options
224-
)
222+
if (hudi_fg_alias._feature_group.storage_connector is None):
223+
hudi_engine_instance.reconcile_hudi_schema(
224+
self.save_empty_dataframe, hudi_fg_alias, read_options
225+
)
225226

226227
def register_delta_temporary_table(
227228
self, delta_fg_alias, feature_store_id, feature_store_name, read_options

0 commit comments

Comments
 (0)