Link Search Menu Expand Document

Send sample data to Soda Cloud preview

× This feature is available only for limited preview access.
Interested in getting early access? Let us know!

Use the sample datasets configuration in your checks YAML file to send 100 sample rows to Soda Cloud. Examine the sample rows to gain insight into the type checks you can prepare to test for data quality.
Requires Soda Cloud.

sample datasets:
  datasets:
    - dim_customer
    - include prod%
    - exclude test%

Prerequisites
Define sample datasets
Optional check configurations
Go further

Prerequisites

Define sample datasets

This configuration is limited in its syntax variation, with only a couple of mutable parts to specify the datasets from which to gather and send sample rows to Soda Cloud.

The example configuration below uses a wildcard character (%) to specify that Soda Core sends sample rows to Soda Cloud for all datasets with names that begin with customer, and not to send samples for any dataset with a name that begins with test.

sample datasets:
  datasets:
    - include customer%
    - exclude test%


You can also specify individual datasets to include or exclude, as in the following example.

sample datasets:
  datasets:
    - include retail_orders


Scan results in Soda Cloud

  1. To review the sample rows in Soda Cloud, first run a scan of your data source so that Soda Core can gather and send samples to Soda Cloud.
  2. In Soda Cloud, navigate to the Datasets dashboard, then click a dataset name to open the dataset’s info page.
  3. Access the Sample Data tab to review the sample rows.

Example sample datasets screenshot

Optional check configurations

Supported Configuration Documentation
  Define a name for sample data configuration. -
  Define alert configurations to specify warn and fail thresholds. -
  Apply a filter to return results for a specific portion of the data in your dataset. -
Use quotes when identifying dataset names; see example Use quotes in a check
Use wildcard characters ( % with dataset names in the check; see example. -
  Use for each to apply anomaly score checks to multiple datasets in one scan. -
  Apply a dataset filter to partition data during a scan. -

Example with quotes

sample datasets:
  datasets:
    - include "prod_customer"

Example with wildcards

sample datasets:
  datasets:
    - include prod%
    - exclude test%

Go further



Was this documentation helpful?

What could we do to improve this page?


Last modified on 10-Aug-22