What is the default value of `MAXERROR` in a Redshift `COPY` command?
Sebastian Wright
When using the COPY command in Redshift there's an option to specify MAXERROR - a number of row parsing errors that can occur before the query will be aborted.
Documentation doesn't specify the default value for this property. What is the default value?
1 Answer
The default value for MAXERROR is zero. It's undocumented, and zero is not necessarily the value you'd expect, but if you want any tolerance for errors during COPY you will need to set this to a non-zero value.