DatascanDataQualitySpec

data class DatascanDataQualitySpec(val postScanActions: DatascanDataQualitySpecPostScanActions? = null, val rowFilter: String? = null, val rules: List<DatascanDataQualitySpecRule>? = null, val samplingPercent: Double? = null)

Constructors

Link copied to clipboard
constructor(postScanActions: DatascanDataQualitySpecPostScanActions? = null, rowFilter: String? = null, rules: List<DatascanDataQualitySpecRule>? = null, samplingPercent: Double? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Actions to take upon job completion. Structure is documented below.

Link copied to clipboard
val rowFilter: String? = null

A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10

Link copied to clipboard

The list of rules to evaluate against a data source. At least one rule is required. Structure is documented below.

Link copied to clipboard
val samplingPercent: Double? = null

The percentage of the records to be selected from the dataset for DataScan. Value can range between 0.0 and 100.0 with up to 3 significant decimal digits. Sampling is not applied if sampling_percent is not specified, 0 or 100.