When creating a DQ rule, I need to specify an attribute and define it’s datatype. But what if I don’t care what data type something is?
I want to create a rule that checks a combination of NULL/NOT NULL for two columns. So if column A is NULL and column B is not, this would result in an INVALID test.
But I want to do this for various metrics. Sometimes I want to check if a string column is null against a float column, or a date against a string etc. Do I need to create every permutation of every datatype combination as a rule in order to accomplish this?
Also, even if it is required to make all these duplicate tests. Is there a way to configure the rules so that they don’t show up as “Applied DQ Checks” for both columns selected in the configuration? Example. I care whether or not Column A is populated given column B, but I don’t care whether or not Column B is populated. Currently when making a rule like this, the tests gets affixed to both columns even if I only add it to a specific one.