Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed potential issue from PR.
Signed-off-by: Jonas Bauer <jbauer@easy2parts.com>
  • Loading branch information
p3s-jbauer authored and ntkathole committed Jan 30, 2026
commit f57b172be2340f34220d469de594dc6a8002229b
5 changes: 4 additions & 1 deletion sdk/python/feast/infra/compute_engines/ray/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
from feast.infra.compute_engines.dag.model import DAGFormat
from feast.infra.compute_engines.dag.plan import ExecutionPlan
from feast.infra.compute_engines.dag.value import DAGValue
from feast.infra.offline_stores.contrib.ray_offline_store.ray import (
REMOTE_STORAGE_SCHEMES,
)
from feast.infra.offline_stores.file_source import SavedDatasetFileStorage
from feast.infra.offline_stores.offline_store import RetrievalJob, RetrievalMetadata
from feast.infra.ray_initializer import get_ray_wrapper
Expand Down Expand Up @@ -205,7 +208,7 @@ def persist(
destination_path = storage.file_options.uri

# Check if destination already exists
if not destination_path.startswith(("s3://", "gs://", "hdfs://")):
if not destination_path.startswith(REMOTE_STORAGE_SCHEMES):
import os

if not allow_overwrite and os.path.exists(destination_path):
Expand Down