DQ-421 | feat: add support for new data quality rule templates #789
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
✨ Description
adds support for new data quality rule templates
Linear links:
docs pr: https://github.com/atlanhq/atlan-developer-portal/pull/507
🧩 Type of change
Select all that apply:
✅ How has this been tested? (e.g. screenshots, logs, workflow links)
Describe how the change was tested. Include:
📋 Checklist
Note
Introduces typed DQ rule templates and expands rule creation/validation, plus cache and test updates.
DataQualityRuleTemplateType(vs strings) and reads template config viarule_type.valueDQRuleConditionsBuilder(IN_LIST_REFERENCE,ROW_COUNT_RECON,AVERAGE_RECON,SUM_RECON,DUPLICATE_COUNT_RECON,UNIQUE_COUNT_RECON); validates required fields and serializes to JSON_fetch_assets_for_row_scope_validationand_validate_template_features(checks template capabilities, allowed operators/conditions, presence of row-scope filter columns on base/target assets)threshold_compare_operatorwith template-driven defaults/validation, optionalthreshold_unit(default from template),rule_conditions, andcustom_sql_return_typeDataQualityRuleTemplateType, extendsDataQualityRuleTemplateConfigRuleConditions, and addsABSOLUTEtoDataQualityRuleThresholdUnitname(not display name); docstrings adjustedWritten by Cursor Bugbot for commit 44381eb. This will update automatically on new commits. Configure here.