I am trying to update data from JIRA to Redshift DB using python. I am having issues updating value from 'description' column. The target column in DB is of type varchar.
Given below is how I modify the 'description' column before inserting it into Redshift DB.
df['description'] = df['description'].astype(str)
And it throws the below error:
DataError: value too long for type character varying(256)
Is there anything wrong that I am doing to have this field inserted. Length of values in the description column go upto 6000 characters.
Any help on this, would be appreciated..