Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2023 10:59 PM
Hi Suteja,
Unfortunately this change did not solve the problem. Looking at the exception and stack trace it looks to be the exact same code, so:
spark.read.format("jdbc")and
spark.read.format('sqlserver')are actually the same.
The "solution" we have now, is to basically connect again when we have this exception. We have been doing this for a few weeks now and can confirm that whenever this error happens, the second connection attempt always succeeds.
Cheers,
Michel