I am reading a table in the Synapse notebooks using the sqlanalytics connector. When the spark encounters an empty string in a column , it is trying to convert to None/Null.
I am getting error, when the column is NOT NULL .
Column ordinal: 7, Expected data type: NVARCHAR(50) collate SQL_Latin1_General_CP1_CI_AS NOT NULL
I am trying to fill with a default value, so I can read the DataFrame. It doesn't convert it somehow.
Is there any work around to this?

or upvote
button whenever the information provided helps you.