Skip to content

Commit

Permalink
fix: Remove unwanted excessive splitting of gcs path, so expected gcs…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
crispin-ki authored and james-crabtree-sp committed Sep 14, 2023
1 parent 5979cb5 commit d5acf51
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sdk/python/feast/infra/offline_stores/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,6 @@ def to_remote_storage(self) -> List[str]:
else:
storage_client = StorageClient(project=self.client.project)
bucket, prefix = self._gcs_path[len("gs://") :].split("/", 1)
prefix = prefix.rsplit("/", 1)[0]
if prefix.startswith("/"):
prefix = prefix[1:]

Expand Down

0 comments on commit d5acf51

Please sign in to comment.