User Community Service Desk Downloads

Export Invalid Records

You can configure monitoring projects to automatically export records that fail validation rules to a table. Invalid records are exported with each DQ evaluation, ensuring you always have current results for analysis and remediation.

Export of invalid records is available only for BigQuery and Databricks sources used in pushdown mode.

Why export invalid records?

Exporting invalid records is useful for sharing results with data owners or stakeholders without access to Ataccama ONE, or for integrating with external remediation workflows.

Invalid record exports vs. samples

Invalid record exports

All invalid records exported to an external table, up to the configured record limit. Useful for comprehensive analysis, sharing, and remediation.

Invalid record samples

A limited sample of invalid data available from the monitoring project Configuration & Results tab. Useful for quick investigation within Ataccama ONE. See Invalid results samples.

Set up export of invalid records

To configure automatic export:

  1. Open your monitoring project.

  2. On the Configuration & Results tab, select the three dots menu for the catalog item and then Add pushdown invalid record export.

    Select Add pushdown invalid record export
  3. Publish the changes.

The next time you run DQ evaluation, invalid records will be exported to your specified table.

Export settings

Configure the following settings in the Invalid records export settings dialog:

Export configuration for pushdown processing

Target table

Specify where invalid records should be exported.

Ensure your database role has the required permissions. For details, see Databricks permissions and BigQuery permissions.
  • Schema: Select the schema where you want to export the table.

  • Select in source: Create a new table or use an existing table in your database.

    • Name: Enter the table name. If the table does not exist, it will be created automatically with the required structure.

      There can be maximum one export setting per monitoring project catalog item.
    • Prefix: The prefix is fixed as ATA_INVALID_RECORDS_ for easy identification of export tables.

  • Select from catalog: Select an existing catalog item as the export destination.

    The catalog item name must start with ATA_INVALID_RECORDS and must have all required columns. To create such a catalog item, first create a table with these specifications in your database, and then import the table to the catalog.

Enabled

Enable export of invalid records using these settings.

Record limit

Set the maximum number of records to export per evaluation.

If you consistently see a high number of invalid records, this might indicate misconfigured DQ rules or monitoring settings that require adjustment. Review your rules logic to make sure it is correct.

Write strategy

Choose how new export results interact with existing data:

  • Replace: Overwrites existing invalid records with the invalid records from the latest DQ evaluation.

  • Append: Appends new invalid records while keeping the previous ones.

Additional attributes

By default, the export includes only the first of the input attributes.

Additional attributes include:

  • Remaining rule inputs: For rules with multiple inputs, the first input attribute is exported as the invalid attribute, and the remaining inputs are automatically added as additional attributes.

  • User-selected attributes: You can select additional attributes to provide context for investigating DQ issues. For example, if an email address fails validation, adding the country code helps you identify whether all issues originate from the same country.

Additional attributes appear in a single column in the export table as a JSON object serialized to text.

View exported records

After DQ evaluation completes, all invalid records are written to your specified table.

To view the exported records:

  1. In the monitoring project, go to the Export tab.

  2. Select the link to your export table.

    Select export table from the Export tab

    This opens the table in your database interface where you can view, query, and download the data.

    View export table in your database interface

Manage export settings

On the monitoring project Export tab, you can:

  • Modify the export configuration: Select Configure to update settings. Changes take effect after you publish and run the next evaluation.

  • Disable the export: Select Configure and in the settings dialog, uncheck Enable to temporarily stop exporting without removing the configuration.

  • Delete the export settings: Select the Delete icon to remove the configuration.

    Deleting the export configuration does not delete the export table or its data from your database.

Export invalid records: Deep dive

To learn more about the technical details of how exports work, what data is included, and how records are stored and retained, see Export Invalid Records: Deep Dive.

Was this page useful?