Skip to main content
Version: 1.11.2

Format results

You can control the level of detail GX Cloud returns in your Validation Results to improve the clarity and efficiency of your data quality workflows. You can format your results to receive only the information you need, whether that’s a high-level pass/fail indicator for exploration, specific failing values for troubleshooting, or full failed rows for data cleansing.

Depending on your use case, you can format your Validation Results with either the GX Cloud UI or the GX Cloud API.

  • To format results from GX-managed Expectations, you can use either the UI or the API.
  • To format results from API-managed Expectations, you must use the API.
  • The UI provides a limited set of options for common combinations of more granular settings available through the API.
  • The API gives you full control to make custom combinations of settings.

No matter which interface you use to format your Validation Results, the configuration impacts the results you receive from both the GX Cloud UI and the GX Cloud API.

Prerequisites

Configure Validation Results

  1. In the GX Cloud UI, select the relevant Workspace and then click Data Assets.

  2. In the Data Assets list, click the Data Asset name.

  3. Click Settings.

  4. Choose what to include in your Validation Results. Here’s what is provided by each option:

    StatusObserved values (default)Sample unexpected rows
    Success or failure
    Query to retrieve full unexpected results *
    Success rate *
    Observed computed values *
    Number of missing or unexpected rows *
    Up to 25 sample unexpected values *
    Up to 25 sample unexpected rows *

    * Note that this kind of detail is not returned by some types of Expectations, even if this kind of detail is generally supported in your selected configuration. For example, a Column Aggregate Expectation like ExpectColumnMeanToBeBetween will never return a sample of failed rows because it assesses an aggregate of values across rows.

  5. Click OK to save your selection. The new selection applies going forward. Historical Validation Results retain their original contents.

For more information about how the opinionated options in the UI map to the more granular options in the API, see the UI options reference table.