-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datafusion error: External error: Failed to get a credential from UnityCatalog client configuration. #3236
Comments
@djouallah have you tried passing the config through storage_options? |
If you are in azure, don't allow http urls. What kind of token are you providing? A personal access token? |
Yes PAT, btw credentials vending works fine with daft |
Hello, this seems to be happening because Correct me if I'm wrong - I suppose we may need to enable the "azure" feature for catalog-unity crate here so that the right azure credentials function gets called. (Unable to confirm this as I don't have an Azure Databricks account) |
@omkar-foss I don't see any features explicitly set in the python crate for UC, and the uc crate default is only to use aws |
Yes that's correct @ion-elgreco, so what I'm thinking is will it help if we add azure also to the defaults list for uc crate. Because right now on my local I see |
take |
Right, I've tested this out with Azure Databricks. Tried both delta-rs and daft with same table, daft works fine, delta-rs fails as the azure credentials don't get read (can see this warning in logs as well). PR fixes this. I've tested this PR with Azure Databricks. @djouallah this should help resolve the issue :) Note for Azure Databricks + delta-rs: Ensure deletionVectors feature is disabled for your delta table, or else delta-rs fails to load the table. Because Azure Databricks may auto-enable deletion vectors for your workspace. |
thanks just to confirm, it is working |
Environment
Delta-rs version: 0.25
Binding: Python
Environment:
Bug
trying to read a table from UC using azure databricks
got this error :
DeltaError: Generic error: Datafusion error: External error: Failed to get a credential from UnityCatalog client configuration.
The text was updated successfully, but these errors were encountered: