Hi @Blasko, Dan W,
Greetings! Welcome to Microsoft Q&A Forum, thanks for posting your query here.
As per the provided error message, we see that you are encountering an issue loading a parquet file from Azure Storage using the OPENROWSET
function. Since the CSV file loads successfully, the problem might be related to the specific configuration or permissions for the Parquet file.
Please follow the below suggestions and give a try:
- Please ensure the file path and name are accurate, including case sensitivity. The error message suggests the file may not exist or there could be access rights issues. Make sure that the file
calendar.parquet
is actually located in the specified directory. - Although the csv file works fine, but the parquet file might have different permissions. Make sure the credentials you are using have read access to the parquet file. Please check for the appropriate permissions for the storage account. Please make sure to check both at share-level and file-level permissions.
- Please ensure the appropriate Azure role is assigned for accessing the Parquet file. Suitable roles include Storage Blob Data Reader or Storage Blob Data Contributor.
- Please ensure that the database scoped credential you created is properly configured to access the storage account. If you are using a Shared Access Signature (SAS), verify that it has the necessary permissions and is not expired.
- Also, please make sure that you are specifying the correct format in your
OPENROWSET
function. The format should be set to 'PARQUET' as you have done but confirm that the file is indeed in the Parquet format. - Please verify that the
DATA_SOURCE
you are referencing (crm_ods_ds
) is properly configured to point to the Azure storage account and is using the correct credentials.
After verifying all these aspects, if issues persist, please test with a different Parquet file to eliminate any file-specific problems. Also, please review the Azure storage logs for more detailed error messages that could offer further insights.
Please refer the below links for additional information:
I hope the above suggestions resolves issue. If the issue persists, please feel free to reach us for the further assistance. We will glad to assist you closely.
Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.