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
We want to serialise a delta table to a json-like format to be returned to a from a fastapi endpoint in Python.
What happens?
I'm getting the following error, with specifics redacted:
duckdb.duckdb.IOException: IO Error: AzureBlobStorageFileSystem could not open file: 'az://{container_name}/{table_name}/part-00000-b20a9780-e199-425c-ad19-75fe2d2b1b0c-c000.snappy.parquet', unknown error occurred, this could mean the credentials used were wrong. Original error message: 'Fail to get a new connection for: https://{storage_account_name}.blob.core.windows.net./ Problem with the SSL CA cert (path? access rights?)'
It seems as if the connection to the storage account is made successfully, as it is able to locate one of the underlying parquet files within the delta directory. This code works outside of a Docker environment, copying the function and simply calling it returns the desired result.
Replace the placeholders for blob_connection_string, container_name and delta_table_name in the main.py (these can be acquired from your Azure instance).
++ We have tested running the container on an Apple MacBook Pro (M2) and the endpoint works as expected. I'm not too sure what this could possibly be at this point. Any help would be greatly appreciated.
What am I trying to do?
We want to serialise a delta table to a json-like format to be returned to a from a fastapi endpoint in Python.
What happens?
I'm getting the following error, with specifics redacted:
It seems as if the connection to the storage account is made successfully, as it is able to locate one of the underlying parquet files within the delta directory. This code works outside of a Docker environment, copying the function and simply calling it returns the desired result.
To reproduce
docker compose up --build
Details:
The text was updated successfully, but these errors were encountered: