Skip to main content
Solved

Joining SQL Views and Data Slices to DQ Rules


We’re using version 15.4, mostly in the web tool.

We’re trying to a subset of our input tables for testing before implementation the full table(s) in Production.

We looked at using Data Slices, but we found that the ROWNUM feature of SQL met our purpose better: 

  • select * from (select * from dbname.tblname) where ROWNUM <=10000

Our primary question is how do we link/connect the SQL View and/or the Data Slice to the DQ Rule.  We believe that it occurs in the Monitoring Project. 

I looked thorough the Ataccama online documentation, and the Community, but I can’t find the options to make these either of these connections.

Any ideas!

Thanks!

Tim

 

Best answer by anna.spakova

Hi ​@TimBrown74, if I understand your question correctly, you are creating an SQL Catalog Item using the SQL query above instead of data slices. The SQL CI behaves like a standard new catalog item so to link it to a DQ rule, you have two options:

  • via a Monitoring project as you mention (under Configuration tab, you will just add this new SQL catalog item and add a DQ rule to it - see the documentation below)
  • apply a DQ rule to the Catalog Item directly in the Catalog Item DQ rule tab (see details below)

Couple links to the documentation:

Monitoring projects:

https://docs.ataccama.com/one/15.4.0/monitoring-projects/monitoring-projects.html#add-catalog-items

https://docs.ataccama.com/one/15.4.0/monitoring-projects/monitoring-projects.html#dq-rules

DQ Rule via attributes in the Catalog Items:

https://docs.ataccama.com/one/15.4.0/data-quality/add-dq-rules-to-attributes.html

In case you would like to use the Data slice, AFAIK you have only the option via a monitoring project: https://docs.ataccama.com/one/15.4.0/monitoring-projects/monitoring-projects.html#use-data-slices-in-monitoring-projects

Let me know if this answers the question.

Kind regards,

Anna

View original
Did this topic help you find an answer to your question?

2 replies

anna.spakova
Ataccamer
Forum|alt.badge.img+3
  • Ataccamer
  • 141 replies
  • Answer
  • March 11, 2025

Hi ​@TimBrown74, if I understand your question correctly, you are creating an SQL Catalog Item using the SQL query above instead of data slices. The SQL CI behaves like a standard new catalog item so to link it to a DQ rule, you have two options:

  • via a Monitoring project as you mention (under Configuration tab, you will just add this new SQL catalog item and add a DQ rule to it - see the documentation below)
  • apply a DQ rule to the Catalog Item directly in the Catalog Item DQ rule tab (see details below)

Couple links to the documentation:

Monitoring projects:

https://docs.ataccama.com/one/15.4.0/monitoring-projects/monitoring-projects.html#add-catalog-items

https://docs.ataccama.com/one/15.4.0/monitoring-projects/monitoring-projects.html#dq-rules

DQ Rule via attributes in the Catalog Items:

https://docs.ataccama.com/one/15.4.0/data-quality/add-dq-rules-to-attributes.html

In case you would like to use the Data slice, AFAIK you have only the option via a monitoring project: https://docs.ataccama.com/one/15.4.0/monitoring-projects/monitoring-projects.html#use-data-slices-in-monitoring-projects

Let me know if this answers the question.

Kind regards,

Anna


  • Author
  • Universe Traveller
  • 9 replies
  • March 11, 2025

Thank you Anna, this was very useful.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings