File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
sdk/python/feast/infra/offline_stores/contrib/spark_offline_store Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 88
99from feast import flags_helper
1010from feast .data_source import DataSource
11- from feast .errors import DataSourceNoNameException
11+ from feast .errors import DataSourceNoNameException , DataSourceNotFoundException
1212from feast .infra .offline_stores .offline_utils import get_temp_entity_table_name
1313from feast .protos .feast .core .DataSource_pb2 import DataSource as DataSourceProto
1414from feast .protos .feast .core .SavedDataset_pb2 import (
@@ -179,6 +179,7 @@ def get_table_query_string(self) -> str:
179179 logger .exception (
180180 "Spark read of file source failed.\n " + traceback .format_exc ()
181181 )
182+ raise DataSourceNotFoundException (self .path )
182183 tmp_table_name = get_temp_entity_table_name ()
183184 df .createOrReplaceTempView (tmp_table_name )
184185
You can’t perform that action at this time.
0 commit comments