Hi. I'm getting an error on a sync to Redshift: `p...
# support
q
Hi. I'm getting an error on a sync to Redshift:
pq: Value too long for character type
and I've read other replies on this error. They mention setting a config value setVarCharMax: false, or changing column size to varchar(max). I'm using Rudderstack Cloud... can anyone tell me where I set this option please or should I update the table in Redshift directly? Thanks
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
h
Yes update the tbl in Redshift
q
Any tips on finding out which specific fields to update or is it a case of updating all
character varying
fields to
varchar(max)
? Will there be any performance dip extending all field sizes to max?
h
as its a raw table I would change them all - you should be materialising the raw tables to views and ttl'ing the raw
and make the views optimised
q
@quick-author-53983 We are releasing a fix for
pq: Value too long for character type
soon. Can you wait for the fix before trying anything else? I will let you know when it is deployed
q
@quiet-wolf-72320 I think I can wait. How long until it's fixed, do you know? Will the failed events hold in the queue and can be reprocessed once fix is applied?
q
The team is already working on the fix so it should not take long. What is the source you are using?
q
Javascript - pages table but not sure what fields causing it
Screenshot 2023-02-16 at 15.12.26.png
h
@quick-author-53983 you could check STL_ERROR and that may reveal
q
Thanks. It just references
Value too long for type character varying(512)
- no field mentioned
h
meh redshift
q
@quiet-wolf-72320 any ETA on this fix by any chance? Thanks in advance
q
@quick-author-53983 we have deployed the fix for this. Can you check at your end if it’s working now?
You can try for a re sync in dashboard
q
There was 1 sitting in
aborted
and I retried it now. It was successful. I guess that's resolved the issue. Is there a config setting to get notified of any fails?
q
@quick-author-53983 I see you are on starter plan so you would have a grafana dashboard. You can set some alerts there to be notified. For exact setup I would need to try it first to be able to help you
q
Ok, I'll take a look at that first then. Thanks