-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement abstractstagingclient for azure blob storage #1218
Conversation
/kind feature |
ab77383
to
3eaf3a0
Compare
sdk/python/feast/loaders/file.py
Outdated
@@ -76,10 +78,10 @@ def export_source_to_staging_location( | |||
os.path.join(source_uri.netloc, source_uri.path) | |||
) | |||
else: | |||
# gs, s3 file provided as a source. | |||
# gs, s3, azure blob file provided as a source. | |||
assert source_uri.hostname is not None | |||
return get_staging_client(source_uri.scheme).list_files( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like the Config object isn't available to be passed to get_staging_client here, so is there a better way to pass in the required parameters (account name and access key) for the Azure client than requiring them to be passed in in the config?
I've done some basic manual testing, not sure if there's more that should be done outside of end-to-end Azure tests - what is the case for S3/GCS? |
AZURE_BLOB_ACCOUNT_NAME: Optional[str] = None | ||
|
||
#: Account access key for Azure blob storage_client | ||
AZURE_BLOB_ACCOUNT_ACCESS_KEY: Optional[str] = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not possible for this configuration to be read from environmental variables by the azure client?
they are covered by e2e tests |
Signed-off-by: Jacob Klegar <jacob@tecton.ai>
Signed-off-by: Jacob Klegar <jacob@tecton.ai>
Signed-off-by: Jacob Klegar <jacob@tecton.ai>
928fa3a
to
1a9a10a
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jklegar, woop The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Jacob Klegar jacob@tecton.ai
What this PR does / why we need it: Supports Azure Blob Storage as an object store and batch data source as part of #1181
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: