Azure Blob Reader
Last updated
Last updated
Azure Blob Reader is designed to read and access data stored in Azure Blob Storage. Azure Blob Readers typically authenticate with Azure Blob Storage using Azure Active Directory credentials or other authentication mechanisms supported by Azure.
This is a spark based component.
All component configurations are classified broadly into the following sections:
Meta Information
Please follow the demonstration to configure the component.
Read using: There are three(3) options available under this tab:
Shared Access Signature:
Secret Key
Principal Secret
Provide the following details:
Shared Access Signature: This is a URI that grants restricted access rights to Azure Storage resources.
Account Name: Provide the Azure account name.
Container: Provide the container name from where the file is located and which has to be read.
File type: There are four(4) types of file extensions are available under it:
CSV
JSON
PARQUET
AVRO
XML
Read Directory: Check in this box to read the specified directory.
Selected Column: Select the columns from the file.
Provide the following details:
Account Key: It is used to authorize access to data in your storage account via Shared Key authorization
Account Name: Provide the Azure account name.
Container: Provide the container name from where the file is located and which has to be read.
File type: There are four(4) types of file extensions are available under it:
CSV
JSON
PARQUET
AVRO
XML
Read Directory: Check in this box to read the specified directory.
Selected Column: Select the columns from the file.
Header: Check in this box to get the Header row of the file.
Infer Schema: Check in this box to get the true data type of all the column of the file.
Provide the following details:
Client ID: The client ID is the unique Application (client) ID assigned to your app by Azure AD when the app was registered.
Tenant ID: It is a globally unique identifier (GUID) that is different than your organization name or domain.
Client Secret: The client secret is the password of the service principal.
Account Name: Provide the Azure account name.
File type: There are four(4) types of file extensions are available under it:
CSV
JSON
PARQUET
AVRO
XML
Read Directory: Check in this box to read the specified directory.
Selected Column: Select the columns from the file.
Header: Check in this box to get the Header row of the file.
Infer Schema: Check in this box to get the true data type of all the column of the file.
Note: The following fields will be displayed after selecting the following file types:
CSV: The Header and Infer Schema fields get displayed with CSV as the selected File Type. Enable Header option to get the Header of the reading file and enable Infer Schema option to get true schema of the column in the CSV file.
JSON: The Multiline and Charset fields get displayed with JSON as the selected File Type. Check-in the Multiline option if there is any multiline string in the file.
PARQUET: No extra field gets displayed with PARQUET as the selected File Type.
AVRO: This File Type provides two drop-down menus.
Compression: Select an option out of the Deflate and Snappy options.
Compression Level: This field appears for the Deflate compression option. It provides 0 to 9 levels via a drop-down menu.
XML: Select this option to read XML file. If this option is selected, the following fields will get displayed:
Infer schema: Enable this option to get true schema of the column.
Path: Provide the path of the file.
Root Tag: Provide the root tag from the XML files.
Row Tags: Provide the row tags from the XML files.
Join Row Tags: Enable this option to join multiple row tags.