I have an odbc connection setup in R where I am reading a table with multiple column from SQL database and writing in R dataframe. I get an error when trying to read and write a jsonb data column. The process works if I read and write all the other columns that are in varchar and float data type.
This is the error I receive - "Error in result_fetch(res@ptr, n) : wstring_convert::to_bytes"
Any input on how can I write the jsonb data column. thanks,