Skip to content

Commit f2c5988

Browse files
authored
fix: Remove unwanted excessive splitting of gcs path, so expected gcs parquet paths are returned from BigQueryRetrievalJob.to_remote_storage() (feast-dev#3730)
Remove unwanted excessive splitting of gcs path Signed-off-by: Crispin Logan <crispin.logan@ki-insurance.com>
1 parent 377758b commit f2c5988

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sdk/python/feast/infra/offline_stores/bigquery.py

-1
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ def to_remote_storage(self) -> List[str]:
577577
else:
578578
storage_client = StorageClient(project=self.client.project)
579579
bucket, prefix = self._gcs_path[len("gs://") :].split("/", 1)
580-
prefix = prefix.rsplit("/", 1)[0]
581580
if prefix.startswith("/"):
582581
prefix = prefix[1:]
583582

0 commit comments

Comments
 (0)