Capture Row Formatting Errors and Declare a Reject Limit

The following SQL fragment captures formatting errors internally in Greenplum Database and declares a reject limit of 10 rows.

LOG ERRORS SEGMENT REJECT LIMIT 10 ROWS

Use the built-in SQL function gp_read_error_log() to read the error log data. For information about viewing log errors, see Viewing Bad Rows in the Error Log.

Parent topic: Handling Load Errors

check-circle-line exclamation-circle-line close-line
Scroll to top icon