Skip to content

"builder error for url" when creating an instance of a DeltaTable which is located in an azurite blob storage #2901

Answered by g0di
pascalrosenberger asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, I found out that you actually have to pass a dedicated option for using an Azurite emulated storage account container.

You can do it either from environment variables

AZURE_STORAGE_USE_EMULATOR="1"

Or directly in source code

storage_options = { "azure_storage_use_emulator": "1" }
delta_table = DeltaTable(f"az://LandingZone/DataContractName/0.0.1/ModelName", storage_options=storage_options)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rtyler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #2815 on September 23, 2024 18:46.