Type Alias SamplingConfiguration

type SamplingConfiguration = {
    executionMode?: "PUSHDOWN" | "PULLUP";
    sampleMethod?: "HEAD" | "RANDOM";
    sampleMode?: "ABSOLUTE" | "RELATIVE";
    sampleSize?: number;
}
Index
executionMode?: "PUSHDOWN" | "PULLUP"

Specifies where the data quality computation takes place. In PUSHDOWN mode, it runs within the Cloud Data Warehouse (e.g., Snowflake, Databricks), whereas in PULLUP mode, it runs in Qlik Cloud.

sampleMethod?: "HEAD" | "RANDOM"

Specifies how rows are selected from the dataset. HEAD reads the first rows, while RANDOM reads a random selection of rows. If omitted, defaults to HEAD when executionMode is PULLUP, or RANDOM when executionMode is PUSHDOWN. Selecting RANDOM while executionMode is PULLUP is currently only supported for QVD datasets.

sampleMode?: "ABSOLUTE" | "RELATIVE"

Specifies how the dataset is sampled. ABSOLUTE represents a fixed number of rows, while RELATIVE refers to a percentage of the total dataset rows.

sampleSize?: number

The actual value of the selected sampling method size (either a fixed number for ABSOLUTE mode or a percentage for RELATIVE mode). Maximum allowed value for ABSOLUTE mode is 100000.