You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Newest updates break DaskOfflineStore with S3 parquets #4753
In version 0.40.1 the Dask Offline store was able to read the data_source.path directly from the FileSource and retrieve the data from S3 using a path like: s3://<your-bucket>/<file-name>
Current Behavior
Failing to pull data because it is now appending the repo_path to the front of the s3 url.
Example: /tmp/feast:s3//<your-bucket>/<file-name>
I believe this is because of a recent change: #4624 which is now not accepting the S3 url as a absolute Path
Steps to reproduce
Rebuilt my environment with latest tagged version 0.41.3
Reran my get_historical_features and call hung for a while then errored with the file path error not existing
Specifications
Version: 0.41.3
Platform: Linux
Subsystem: Debian
Possible Solution
Revert that change or allow a flag that would be able to bypass that breaking change
IF storage_options NOT None, Read parquet directly
@tmihalac
We also tried to change the line locally just to test in the file lib/python3.11/site-packages/feast/infra/offline_stores/dask.py
if config.repo_path is not None and not Path(file_options.uri).is_absolute():
absolute_path = config.repo_path / file_options.uri
else:
absolute_path = Path(file_options.uri)
to
if config.repo_path is not None and not Path(file_options.uri).is_absolute():
absolute_path = file_options.uri
else:
absolute_path = Path(file_options.uri)
And the push worked. Maybe the problem is somewhere in that part.
Thank you all for looking and working on this issue. I will follow both this issue and the #5208 for the final fix and then I'll update my environment and make sure everything is working as expected.
Activity
franciscojavierarceo commentedon Apr 2, 2025
CC @ntkathole
ntkathole commentedon Apr 2, 2025
@bjmccotter7192 Can you please confirm if latest version fixed this issue ?
makSSMZ commentedon Apr 2, 2025
Had the same issue:
tmihalac commentedon Apr 2, 2025
@makSSMZ
Can you please provide a longer stack trace ?
@ntkathole
I think you forgot to fix it also in
feast.infra.offline_stores.file_source.FileSource.get_uri_for_file_path()That might be the issue
makSSMZ commentedon Apr 3, 2025
@tmihalac
makSSMZ commentedon Apr 3, 2025
@tmihalac
We also tried to change the line locally just to test in the file
lib/python3.11/site-packages/feast/infra/offline_stores/dask.pyto
And the push worked. Maybe the problem is somewhere in that part.
ntkathole commentedon Apr 3, 2025
#5208 will fix it
bjmccotter7192 commentedon Apr 4, 2025
Thank you all for looking and working on this issue. I will follow both this issue and the #5208 for the final fix and then I'll update my environment and make sure everything is working as expected.