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

Join us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now

Reply
imraj45
New Member

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
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!

FebFBC_Carousel

Fabric Monthly Update - February 2025

Check out the February 2025 Fabric update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.