Forum Discussion
Synapse SQL connector for warehouse failed to write data.
- Anonymous8 months ago
Hi Folks,
The same code is working now. I havent changed anything but now it is running. Seems to be something internal issue.
Hello Anonymous
Could you please try the following steps:
1. Set the append mode to "overwrite" by using df.write.mode("overwrite").synapsesql.
2. Is the warehouse you are writing to located within the same workspace as your notebook?
3. You mentioned that the code works for your colleague. Are they using the same workspace? If not, would you be able to check if their Fabric runtime matches yours?
- Anonymous8 months agoNot applicable
Hi deborshi_nag ,
Both warehouse and notebook are in same workspace. Also I do have 1.3 runtime and tried with overwrite. But the issue still persists.- deborshi_nag8 months ago
Super User
Hi Anonymous make sure you have the following 2 lines in the same cell in your notebook.
import com.microsoft.spark.fabricfrom com.microsoft.spark.fabric.Constants import Constants- Anonymous8 months agoNot applicable
Hi deborshi_nag , I have imported the modules.