Skip to main content
The SHOW INSPECT ERRORS displays errors recorded by an job, including background INSPECT jobs triggered by row count validation. SHOW INSPECT ERRORS shows results for a single INSPECT job at a time; it does not aggregate results across jobs. To view errors from a specific job, including an inspect_job_id returned by , use SHOW INSPECT ERRORS FOR JOB {job_id}.

Required privileges

To run SHOW INSPECT ERRORS, the user must have:
  • The INSPECT system-level , which is required to run the .

Synopsis

show_inspect_errors syntax diagram

Parameters

Response

SHOW INSPECT ERRORS returns the following columns, with one row per issue detected.

Error types

The INSPECT implementation reports the following error_type values:

Examples

Show the latest errors for a table

To see the errors found by the most recent INSPECT job, issue the following statement:

Show errors for a specific inspection job

When you issue the , a NOTICE message is returned to the client showing the job ID, e.g.,
To show errors for a job, issue the following statement:
If returns an inspect_job_id value for its post-import validation job, you can use that value with SHOW INSPECT ERRORS FOR JOB {inspect_job_id} as well. If there are no errors associated with that job ID, the output is:
Note that if you issue a job ID for a nonexistent job, you will see the same output as for a job with no errors:

Show errors with details

See also