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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
s_c
New Member

OLE DB or ODBC error DataSource.Error - Spark

Hi,

 

I get the following error when I try to import data using Spark data source in PowerBI desktop. The dataset has about 30 million rows and 70 columns. 

 

Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: [DataSource.Error] ERROR [08S01] [Microsoft][Hardy] (71) Failed to establish connection with unknown error..'.

 

Could someone please help me resolve this? 

 

Thanks!

1 REPLY 1
Anonymous
Not applicable

@s_c,

Do you use “Import” mode in Power BI Desktop to connect to Spark? If so, could you please use “DirectQuery” mode instead to connect to Spark and check if you get any issues.

If the above error still occurs, please go to File -> Options and settings -> Options -> Diagnostics and click "enable tracing" in Power BI Desktop, then connect to Spark and check the detailed logs in the traces folder. Also please help to post the detailed logs here.


Regards,
Lydia Zhang

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors