GoogleCloudPlatform/cloud-data-quality

column_id at null in dq_summary In a Rule Type CUSTOM_SQL_STATEMENT

Closed this issue · 2 comments

In a Rule Type CUSTOM_SQL_STATEMENT, the column_id is always null in dq_summary.
But in the documentation:

"The rule binding sets the value of the column parameter through the column_id field and the custom parameters are set explicitly by listing them on each rule reference."

image

Hi @yankisimo the column_id in a CUSTOM_SQL_STATEMENT rule is empty because the rule could in theory reference any columns, not just the column_id field.

The documentation is outdated. Thank you for pointing this out. We will update them.

Documentation updated in #200