Skip to content

Commit

Permalink
Add support for google storage (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
krfricke authored Mar 3, 2021
1 parent 5caec15 commit 5d65f24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xgboost_ray/matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def _is_petastorm_compatible(data: Union[str, List[str]]):

def _is_compatible(url: str):
return url.endswith(".parquet") and (url.startswith("s3://")
or url.startswith("gs://")
or url.startswith("hdfs://")
or url.startswith("file://"))

Expand Down

0 comments on commit 5d65f24

Please sign in to comment.