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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Abinaya95
Frequent Visitor

Unable to read table from Redshift using Fabric Notebook

I tried to read data from redshift and write the same in Fabric lakehouse. I have all the access and tried get the output using copy data activity but couln't able to retrieve from notebook. In my case i want to do that in notebook only. but it showing the jar file issue.

 

1st i used this jar file redshift-jdbc42-2.1.0.12.jar and got the error of 

Abinaya95_0-1748006139624.pngAbinaya95_1-1748006184635.png

jar file issue like that and the reference from internet again i used the jar file as 

redshift-jdbc42-no-awssdk-1.2.55.1083.jar for this i got the error of 
Abinaya95_2-1748006308273.pngAbinaya95_3-1748006331267.png

I kept the jar file in lakehouse files and called the lakehouse inside the notebook. I referred by using ABFS path. The code I used to connect the redshift database is given below

Abinaya95_4-1748006599191.png

If anyone having the solution to read the redshift table data from fabric notebook Kindly give a the solution in detail ASAP.

Thanks in Advance!!!

1 ACCEPTED SOLUTION
v-achippa
Community Support
Community Support

Hi @Abinaya95,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Microsoft Fabric currently does not support dynamically loading JDBC jar's using ABFS paths. The exception indicates that the Redshift JDBC jar is not found in the notebook's runtime class path.

Use the Copy Data activity from Redshift to fabric Lakehouse.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thanks and regards,

Anjan Kumar Chippa

View solution in original post

3 REPLIES 3
v-achippa
Community Support
Community Support

Hi @Abinaya95,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Microsoft Fabric currently does not support dynamically loading JDBC jar's using ABFS paths. The exception indicates that the Redshift JDBC jar is not found in the notebook's runtime class path.

Use the Copy Data activity from Redshift to fabric Lakehouse.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thanks and regards,

Anjan Kumar Chippa

Is there anyway to read data from redshift using fabric notebook. I done the same to retrieve data from AWS S3 Files but why can't I do for this?

Jai-Rathinavel
Super User
Super User

Hi @Abinaya95  Check out the below posts / articles and see if that helps

1. How to connect Amazon Redshift to python - Stack Overflow

2. How To Connect AWS Redshift to Python Notebook | by Abraham Setiawan | CodeX | Medium

 

Thanks,

Jai




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors