โ05-16-2022 05:37 AM
Hello,
We are trying to load a Delta table from an Azure Data Lake Storage container into Power BI using the Databricks SQL Endpoint.
We configured the SQL Workspace data to have access to the ADLS Delta table and created a view; we are able to query the view from the Databricks SQL workspace.
We created a personal access token and downloaded the PBI file, but when we choose the Delta (or any other table from the metadata) in Power BI we have this error:
DataSource.Error: ODBC: ERROR [HY000] [Microsoft][Hardy] (35) Error from server: error code: '0' error message: 'org.apache.hive.service.cli.HiveSQLException: Error running query: Failure to initialize configurationInvalid configuration value detected for fs.azure.account.key
Also, on trying to connect to the "sample" tables in Databricks we have an error as well, just different:
Querying from Databricks Workspace works:
Does anyone have an idea how to proceed, please?
Thank you!
โ05-27-2022 01:12 PM
Hi @Atanu Sarkarโ Thank you for your answer, but the spark config cannot be applied to the SQL Endpoint, as far as I know - if it can, please let me know how.
We solved the issue by downloading the correct Power BI, we were using a different Power BI file than the one for SQL Endpoint.
โ05-17-2022 03:01 AM
Not sure what is going wrong,
have you checked the docs?
Also do you have a PBI Gateway running?
โ05-17-2022 03:13 AM
I did follow the docs, Using Partner Connect.
Not sure if I need a PBI Gateway, as this is PowerBI Desktop, not the PowerBI service...
โ05-17-2022 03:17 AM
PowerBi is not my cup of tea so I canยดt tell.
It could also be proxy settings/firewall etc.
โ05-26-2022 02:34 AM
@Marius Condescuโ Could you please include below spark config and try-
spark.hadoop.fs.azure.account.oauth.provider.type.ariaprime.dfs.core.windows.net org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider
spark.hadoop.fs.azure.account.auth.type.ariaprime.dfs.core.windows.net OAuth
spark.hadoop.fs.azure.account.oauth2.client.id.ariaprime.dfs.core.windows.net {{secrets/<secrets>}}
spark.hadoop.fs.azure.account.oauth2.client.endpoint.ariaprime.dfs.core.windows.net https://login.microsoftonline.com/<token URL>
โ05-27-2022 01:12 PM
Hi @Atanu Sarkarโ Thank you for your answer, but the spark config cannot be applied to the SQL Endpoint, as far as I know - if it can, please let me know how.
We solved the issue by downloading the correct Power BI, we were using a different Power BI file than the one for SQL Endpoint.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group