<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Running DQ metrics using hand-written SQL scripts in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Running-DQ-metrics-using-hand-written-SQL-scripts/m-p/2270223#M2550</link>
    <description>Hi,&lt;BR /&gt;We have redirected your issue to our DQ expert and will keep you posted.&lt;BR /&gt;Many thanks for your time.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Wed, 18 Jan 2017 08:38:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-18T08:38:24Z</dc:date>
    <item>
      <title>Running DQ metrics using hand-written SQL scripts</title>
      <link>https://community.qlik.com/t5/Data-Quality/Running-DQ-metrics-using-hand-written-SQL-scripts/m-p/2270222#M2549</link>
      <description>Hi everyone, 
&lt;BR /&gt;My team and I are trying to run a set of hand-written SQL scripts within Talend Open Studio for Data Quality to produce data quality metrics. Is it possible to feed Talend a bunch of already written SQL scripts to act as metrics? Or do we have to configure all our scripts again within Talend Open Studio? If we redo them in Talend, any tutorials on how to do this? 
&lt;BR /&gt;We have found that our team is able to write SQL scripts by hand to create metrics much faster and accommodate complex business rules than using the UI in Talend Open Studio. Therefore, we're trying to evaluate whether this tool is worth our time. 
&lt;BR /&gt;Appreciate any feedback from the community. Thanks.</description>
      <pubDate>Fri, 13 Jan 2017 23:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Running-DQ-metrics-using-hand-written-SQL-scripts/m-p/2270222#M2549</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2017-01-13T23:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Running DQ metrics using hand-written SQL scripts</title>
      <link>https://community.qlik.com/t5/Data-Quality/Running-DQ-metrics-using-hand-written-SQL-scripts/m-p/2270223#M2550</link>
      <description>Hi,&lt;BR /&gt;We have redirected your issue to our DQ expert and will keep you posted.&lt;BR /&gt;Many thanks for your time.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 18 Jan 2017 08:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Running-DQ-metrics-using-hand-written-SQL-scripts/m-p/2270223#M2550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-18T08:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Running DQ metrics using hand-written SQL scripts</title>
      <link>https://community.qlik.com/t5/Data-Quality/Running-DQ-metrics-using-hand-written-SQL-scripts/m-p/2270224#M2551</link>
      <description>The way to add indicators in the profiler is to go through the creation of a user defined indicator. 
&lt;BR /&gt; 
&lt;A href="https://help.talend.com/search/all?query=Managing+user-defined+indicators&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=Managing+user-defined+indicators&amp;amp;content-lang=en&lt;/A&gt; 
&lt;BR /&gt;But indeed, that’s not exactly what you would like. 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt;Unfortunately, we cannot integrate arbitrary SQL script in the profiler.&amp;nbsp; The reason is that we are currently limited to single column indicators and the UI depends on the returned results. 
&lt;BR /&gt;I don't know how your scripts look like. Do they apply to multiple columns? What are the returned results? How do you want to display the results? 
&lt;BR /&gt;Some of the advantages of using Talend are: 
&lt;BR /&gt;- no need to write SQL queries (of course you have already your queries, so not concerned here) 
&lt;BR /&gt;- drill down into data based on a given indicator results 
&lt;BR /&gt;- define quality thresholds on most indicators (ensure the quality of the data) 
&lt;BR /&gt;- graphical display of the results 
&lt;BR /&gt;- Automatic job creation from results (Only available in Platform Edition) 
&lt;BR /&gt;- store indicators results in a data mart in order to historize the evolution of the quality of data. (Only available in Platform Edition) 
&lt;BR /&gt;- pdf reporting on indicators (Only available in Platform Edition) 
&lt;BR /&gt;- Shared web access to these reports. (Only available in Platform Edition)</description>
      <pubDate>Thu, 19 Jan 2017 15:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Running-DQ-metrics-using-hand-written-SQL-scripts/m-p/2270224#M2551</guid>
      <dc:creator>Sebastiao_Qlik</dc:creator>
      <dc:date>2017-01-19T15:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Running DQ metrics using hand-written SQL scripts</title>
      <link>https://community.qlik.com/t5/Data-Quality/Running-DQ-metrics-using-hand-written-SQL-scripts/m-p/2270225#M2552</link>
      <description>Hi both, 
&lt;BR /&gt;Thank you for your time and clarification. it's unfortunate Talend for Data Quality does not offer a way to post raw SQL into it to create metrics. I would imagine having some criteria for the SQL (e.g. has to return a single count value) provided to Talend would suffice. We really do like to leverage the reporting, tracking, script versioning and accessibility of data quality tools such as Talend. 
&lt;BR /&gt; 
&lt;BR /&gt;To give you context, we are a small technical team looking at implementing some data quality metrics against an&amp;nbsp;Oracle database. We have already created data quality&amp;nbsp;scripts that we store in a database and we use an ETL tool to run these scripts periodically to get metrics. At this point we realize there are tools out there that can provide these features and probably more. However, we want something that is an easy transition from our current scripts to a data quality platform. Reimplementing all our scripts in the new platform will take a lot of resources and time. 
&lt;BR /&gt; 
&lt;BR /&gt;Here's an example of scripts we write for metrics: 
&lt;BR /&gt; 
&lt;I&gt;Find addresses that have invalid country information that is not found in our reference country view. Only consider address&amp;nbsp;records that have a matching customer or potential customer record.&lt;/I&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;SELECT &lt;BR /&gt;COUNT(1)&lt;BR /&gt;&amp;nbsp; FROM ADDRESS&amp;nbsp; ADDR&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEFT JOIN COUNTRY_REFERENCE_VIEW VW&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON TRIM (VW.DESCRIPTION) = TRIM (ADDR.COUNTRY)&lt;BR /&gt;&amp;nbsp;WHERE TRIM (ADDR.COUNTRY) IS NOT NULL&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND VW.DESCRIPTION IS NULL&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND (&amp;nbsp;&amp;nbsp; EXISTS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (SELECT 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM CUSTOMER CUST&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE CUST.CUSTOMER_ID = ADDR.CUSTOMER_ID)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OR EXISTS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (SELECT 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM PROSPECTIVE_CUSTOMER P_CUST&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE P_CUST.UBC_ID = ADDR.CUSTOMER_ID));&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Jan 2017 00:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Running-DQ-metrics-using-hand-written-SQL-scripts/m-p/2270225#M2552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-20T00:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Running DQ metrics using hand-written SQL scripts</title>
      <link>https://community.qlik.com/t5/Data-Quality/Running-DQ-metrics-using-hand-written-SQL-scripts/m-p/2270226#M2553</link>
      <description>&lt;P&gt;This can be done with UDI's in UDI you can join multiple tables but while creating the UDI you have to use one column and table template .. other columns and tables you need to hard code them ... that single column and table comes from the analysis report where you applied this indicator&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 05:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Running-DQ-metrics-using-hand-written-SQL-scripts/m-p/2270226#M2553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-27T05:02:01Z</dc:date>
    </item>
  </channel>
</rss>

