Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

OLE DB or ODBC error: [DataSource.Error] ERROR [HY000

Hi friends, 

I have to give support to a old report. The connection between Databrick with Power BI. When I import that changes from Power Query to Power BI Desktop the OLEDB oR ODBC error appears. Can you help me. 


old connection 
prod_parts_atb_yearly_forecast
let
Source = ApacheSpark.Tables(*************", 2, [BatchSize=null]),
default_prod_parts_atb_yearly_forecast = Source{[Schema="default",Item="prod_parts_atb_yearly_forecast"]}[Data]
in
default_prod_parts_atb_yearly_forecast

---New Connection 
let
Source = Databricks.Catalogs("*********************", []),
hive_metastore_Database = Source{[Name="hive_metastore",Kind="Database"]}[Data],
default_Schema = hive_metastore_Database{[Name="default",Kind="Schema"]}[Data],
prod_parts_atb_yearly_forecast_Table = default_Schema{[Name="prod_parts_atb_yearly_forecast",Kind="Table"]}[Data]
in
prod_parts_atb_yearly_forecast_Table

prod_parts_atb_yearly_forecast
OLE DB or ODBC error: [DataSource.Error] ERROR [HY000] [Microsoft][Hardy] (35) Error from server: error code: '0' error message: '[Microsoft][Hardy] (134) File b7e8d3a3-5c6f-437c-b907-71f958be1a01: A retriable error occurred while attempting to download a result file from the cloud store but the retry limit had been exceeded. Error Detail: File b7e8d3a3-5c6f-437c-b907-71f958be1a01: The result file URL had expired on 1663734668969 (Unix timestamp)'..
1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

 Do you have the cloud and on-premise data sources configured in the gateway as shown below?

 

vluwangmsft_0-1663899437556.png

And try to add an  additional parameter  in the source step. Please have a try.The issue might be related to Databrick's new Cloud Fetch architecture in runtime 8.3 and above. With a cluster runtime of 7.3 the refresh on service worked smoothly for the same dataset. The issue only occurs, when merging on prem with cloud data in PBI power query and using a on prem Enterprise gateway. As 7.3 has end of support in September the fix below worked for clusters running on 10.4.

let
Source = Databricks.Catalogs("*********************", [EnableQueryResultDownload="0"]),
hive_metastore_Database = Source{[Name="hive_metastore",Kind="Database"]}[Data],
default_Schema = hive_metastore_Database{[Name="default",Kind="Schema"]}[Data],
prod_parts_atb_yearly_forecast_Table = default_Schema{[Name="prod_parts_atb_yearly_forecast",Kind="Table"]}[Data]
in
prod_parts_atb_yearly_forecast_Table

 

 


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,
Lucien

View solution in original post

5 REPLIES 5
Kalina
Regular Visitor

Hello, I have the same problem in Power BI desk top with the same error - any help would be appreaciated:

LE DB or ODBC error: [DataSource.Error] ERROR [HY000] [Microsoft][Hardy] (35) Error from server: error code: '0' error message: '[Microsoft][Hardy] (134) File 53e05d2e-7af6-4ff6-a5da-da9d97bdd24c: A retriable error occurred while attempting to download a result file from the cloud store but the retry limit had been exceeded. Error Detail: File 53e05d2e-7af6-4ff6-a5da-da9d97bdd24c: The result file URL had expired on 1730723653319 (Unix timestamp)'

saleem339
Frequent Visitor

Hi,

I am trying to connect to databricks via Direct Query and getting the same error.
Sometimes visuals will take almost 1-2 minutes to refresh and most of the times getting the same issue and this is happening for nearly 3 reports.

Can anyone help on it.

Anonymous
Not applicable

This report is a old one that its PBIX file used be saved on the user PC. Since the beggining this year the report is presenting few buggs. I belived that it has been caused by a Power BI upgrade. 

This particular issue was happening when I was trying to refresh on the Power BI Desktop. I fixed the issue downsize the table used on the report. 

Thank you guys for so my good ideas.  

v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.

Best Regards
Lucien

v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

 Do you have the cloud and on-premise data sources configured in the gateway as shown below?

 

vluwangmsft_0-1663899437556.png

And try to add an  additional parameter  in the source step. Please have a try.The issue might be related to Databrick's new Cloud Fetch architecture in runtime 8.3 and above. With a cluster runtime of 7.3 the refresh on service worked smoothly for the same dataset. The issue only occurs, when merging on prem with cloud data in PBI power query and using a on prem Enterprise gateway. As 7.3 has end of support in September the fix below worked for clusters running on 10.4.

let
Source = Databricks.Catalogs("*********************", [EnableQueryResultDownload="0"]),
hive_metastore_Database = Source{[Name="hive_metastore",Kind="Database"]}[Data],
default_Schema = hive_metastore_Database{[Name="default",Kind="Schema"]}[Data],
prod_parts_atb_yearly_forecast_Table = default_Schema{[Name="prod_parts_atb_yearly_forecast",Kind="Table"]}[Data]
in
prod_parts_atb_yearly_forecast_Table

 

 


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,
Lucien

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.