Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
I am writing to seek your assistance regarding an issue with setting the Spark classpath for the Redshift JDBC driver (redshift-jdbc42-2.2.0).
Here are the steps I have followed so far:
```python
print("spark.jars =", spark.sparkContext.getConf().get("spark.jars",""))
cp = spark._jvm.java.lang.System.getProperty("java.class.path")
print("Found 'redshift' on classpath? ", "redshift" in cp.lower())
print(cp[:1200])
```
The result I received was:
```python
spark.jars =
Found 'redshift' on classpath? False
com.amazon.redshift.Driver (2.x): False
```
Alternatively, I loaded the file into the ABFS path and tried to register the path with the following command, but it still didn’t work:
```python
%%configure -f
{
"jars": [
"abfss://xxxxxxxx@onelake.dfs.fabric.microsoft.com/xxxxxx.Lakehouse/Files/Common/Library/redshift-jdbc42-2.2.0.jar"
]
}
```
After connecting the Environment in the Notebook, I removed the existing published library (redshift-jdbc42-2.2.0.jar), reloaded the same file, published it again, and tried to execute the validation command once more. Unfortunately, I am still encountering the same error—the classpath is not set.
This issue seems to be an extension of the known bug 1085. Could you kindly provide some inputs or guidance on how to resolve this problem?
Thank you for your time and support.
Hi @saravrathinam ,
Thanks for reaching out to the Microsoft fabric community forum.
Please follow this steps which may help you resolve your issue:
Hope this helps. Please feel free to reach out for any further questions.
Thank you.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the September 2025 Fabric update to learn about new features.
| User | Count |
|---|---|
| 14 | |
| 7 | |
| 2 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 27 | |
| 10 | |
| 5 | |
| 4 | |
| 3 |