Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedJoin us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now
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!
Solved! Go to Solution.
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.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Fabric update to learn about new features.
User | Count |
---|---|
34 | |
17 | |
3 | |
3 | |
2 |
User | Count |
---|---|
40 | |
14 | |
13 | |
12 | |
10 |