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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
imraj45
Regular Visitor

I want to check pyspark connectivity with Hive ODBC in Fabric Notebook

I’m new to Microsoft Fabric and trying to connect PySpark with Hive ODBC in a Fabric Notebook. I want to verify if the connection is working correctly.

 

Could someone guide me on the steps to check connectivity? Do I need to configure anything specific in Fabric Notebooks to make this work? Any sample code or best practices would be really helpful.

 

Thanks in advance!

1 ACCEPTED SOLUTION
v-sgandrathi
Community Support
Community Support

Hi @imraj45,

Thanks for connecting with the Microsoft Fabric Community Forum.

 

To successfully connect Fabric Notebooks with Hive ODBC, you need to configure a few configurations They are:

 

Fabric Notebooks support PySpark, but you must manually install pyodbc to enable ODBC connectivity with Hive.

Additionally, a properly installed and configured Hive ODBC driver is required for the connection to work.
You also need to define the connection using a pre-configured Data Source Name (DSN) to establish communication between Fabric Notebooks and Hive ODBC.

With these configurations in place, the connection should work seamlessly.

 

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

 

 

View solution in original post

1 REPLY 1
v-sgandrathi
Community Support
Community Support

Hi @imraj45,

Thanks for connecting with the Microsoft Fabric Community Forum.

 

To successfully connect Fabric Notebooks with Hive ODBC, you need to configure a few configurations They are:

 

Fabric Notebooks support PySpark, but you must manually install pyodbc to enable ODBC connectivity with Hive.

Additionally, a properly installed and configured Hive ODBC driver is required for the connection to work.
You also need to define the connection using a pre-configured Data Source Name (DSN) to establish communication between Fabric Notebooks and Hive ODBC.

With these configurations in place, the connection should work seamlessly.

 

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

 

 

Helpful resources

Announcements
FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

March Fabric Update Carousel

Fabric Monthly Update - March 2026

Check out the March 2026 Fabric update to learn about new features.