Greenplum Connector

Greenplum Connector

Error handling for Greenplum targets

Error handling for Greenplum targets

You can set the error limit for a Greenplum segment to specify the number of rows that the gpload utility can discard before it fails a session. If you specify an error table, the gpload utility logs the discarded rows in the error table.
The error limit includes rows with format errors. The default value is 0. By default, the gpload utility stops a session when it encounters a row with format errors.
Use the following naming convention for the error table name:
<schema name>.<table name>
If you do not specify a schema name, the gpload utility creates the error table in the public schema. The error table format is predefined in the Greenplum database.
  • If the table does not exist, the gpload utility creates the table based on the predefined format.
  • If the specified table exists in the schema, but the table is not in the prescribed format, the session fails.
  • If a session fails, see the error table for more information about the errors.
  • If you run the session again, the gpload utility appends the discarded rows to the error table.
For more information about the error tables, see the Greenplum documentation.
You can view load statistics in the session log. The gpload utility writes the error messages to the gpload log. The Secure Agent reads the gpload log and writes the errors to the session log. The gpload utility writes the error messages to the gpload log at the following location:
$INFA_HOME/server/infa_shared/temp

0 COMMENTS

We’d like to hear from you!