Dqdl Class
The Data Quality Definition Language (DQDL) document for a DataQualityRuleset.
DQDL is an authored string that Glue parses and validates at deploy time. Build one from a raw DQDL string with {@link Dqdl.fromString}.
Example
ts
declare const database: glue.IDatabase;
new glue.DataQualityRuleset(this, 'MyRuleset', {
rulesetName: 'my_ruleset',
dqdl: glue.Dqdl.fromString('Rules = [ RowCount > 100, IsComplete "order_id" ]'),
targetTable: glue.DataQualityTargetTable.fromTableName(database, 'my_table'),
});
Methods
fromString(dqdl: string): Dqdl // chainable@staticmethod def from_string(dqdl: str) -> Dqdlpublic static Dqdl fromString(String dqdl)public static Dqdl FromString(string dqdl)func FromString(Dqdl *string) Dqdlstatic#Create a `Dqdl` from a raw DQDL string.
1 parameter
Parameters
dqdldqdldqdldqdlDqdl— the DQDL document, e.g.Rules = [ RowCount > 100 ].