Loads bytes from Azure Blob Storage.
load_azure_blob_storage uri:string, [account_key=string]Description
Section titled “Description”The load_azure_blob_storage operator loads bytes from an Azure Blob Storage.
By default, authentication is handled by the Azure SDK’s credential chain which may read from multiple environment variables, such as:
AZURE_TENANT_IDAZURE_CLIENT_IDAZURE_CLIENT_SECRETAZURE_AUTHORITY_HOSTAZURE_CLIENT_CERTIFICATE_PATHAZURE_FEDERATED_TOKEN_FILE
uri: string
Section titled “uri: string”A URI identifying the blob to load from.
Supported URI formats:
abfs[s]://[:<password>@]<account>.blob.core.windows.net[/<container>[/<path>]]abfs[s]://<container>[:<password>]@<account>.dfs.core.windows.net[/path]abfs[s]://[<account[:<password>]@]<host[.domain]>[<:port>][/<container>[/path]]abfs[s]://[<account[:<password>]@]<container>[/path]
(1) and (2) are compatible with the Azure Data Lake Storage Gen2 URIs 1, (3) is for Azure Blob Storage compatible service including Azurite, and (4) is a shorter version of (1) and (2).
account_key = string (optional)
Section titled “account_key = string (optional)”Account key to authenticate with.
Examples
Section titled “Examples”Write JSON
Section titled “Write JSON”Read JSON from a blob obj.json in the blob container container, using the
tenzirdev user:
load_azure_blob_storage "abfss://tenzirdev@container/obj.json"read_json