What Is the Default Value of `Maxerror` in a Redshift `Copy` Command?

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest