Select
classView source ↗
class Select(
criteria: Criteria,
to_table: str,
include_quality_columns: Literal['none', 'criteria', 'all'] = 'none',
)
Bases: CriteriaOperator
Categories: dq-operator
An operator that selects rows based on data quality criteria and writes them to another table.
This operation does not modify the original table.
Initializes the Select operator.
Parameters
parameter
criteriaThe criteria for selecting rows. Defaults to Criteria.all_ok().
parameter
to_tableThe name of the table where selected rows will be written.
parameter
include_quality_columnsThe data quality columns to include in the table with selected data.
Properties
property
criteriaCriteriaReturns the criteria for this Fail operation.
property
include_quality_columnsLiteral['none', 'criteria', 'all']Returns the data quality columns to included in the table with selected data.
property
to_tablestrReturns the destination table for the selected rows.