<?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 Using REGEXP_REPLACE in my query in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-REGEXP-REPLACE-in-my-query/m-p/2235524#M24543</link>
    <description>&lt;P&gt;- Talend Open Studio for Big Data 6.5.1&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a query pulling data and one of the columns is a list of remedy tickets.&amp;nbsp; In my query, I'm using a regex to remove duplicates returned by the listagg.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;select distinct rt.change_request_name,rt.change_request_number,rt.user_id,rt.full_name,&lt;BR /&gt;rt.termination_date,&lt;BR /&gt;RTRIM (&lt;BR /&gt;REGEXP_REPLACE (&lt;BR /&gt;(listagg(ica.ticket_number,',&lt;BR /&gt;') within group (ORDER BY ica.ticket_number) over (partition by ica.change_request_id)),&lt;BR /&gt;'([^,]*)(,\1)+($|,)',&lt;BR /&gt;'\1\3'),',')&lt;BR /&gt;as Remedy_Ticket from remedy_ticket rt&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I run my query in SQL Developer the results return as expected with the duplicates removed.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When it is part of my job, the results still contain the duplicates.&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:03:38 GMT</pubDate>
    <dc:creator>quad4x</dc:creator>
    <dc:date>2024-11-16T03:03:38Z</dc:date>
    <item>
      <title>Using REGEXP_REPLACE in my query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-REGEXP-REPLACE-in-my-query/m-p/2235524#M24543</link>
      <description>&lt;P&gt;- Talend Open Studio for Big Data 6.5.1&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a query pulling data and one of the columns is a list of remedy tickets.&amp;nbsp; In my query, I'm using a regex to remove duplicates returned by the listagg.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;select distinct rt.change_request_name,rt.change_request_number,rt.user_id,rt.full_name,&lt;BR /&gt;rt.termination_date,&lt;BR /&gt;RTRIM (&lt;BR /&gt;REGEXP_REPLACE (&lt;BR /&gt;(listagg(ica.ticket_number,',&lt;BR /&gt;') within group (ORDER BY ica.ticket_number) over (partition by ica.change_request_id)),&lt;BR /&gt;'([^,]*)(,\1)+($|,)',&lt;BR /&gt;'\1\3'),',')&lt;BR /&gt;as Remedy_Ticket from remedy_ticket rt&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I run my query in SQL Developer the results return as expected with the duplicates removed.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When it is part of my job, the results still contain the duplicates.&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-REGEXP-REPLACE-in-my-query/m-p/2235524#M24543</guid>
      <dc:creator>quad4x</dc:creator>
      <dc:date>2024-11-16T03:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using REGEXP_REPLACE in my query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-REGEXP-REPLACE-in-my-query/m-p/2235525#M24544</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQvDAAW"&gt;@quad4x&lt;/A&gt;&amp;nbsp;, create a metadata for that db in repository and when you try to run this query against to this is it showing duplicates?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 10:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-REGEXP-REPLACE-in-my-query/m-p/2235525#M24544</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-03-07T10:03:21Z</dc:date>
    </item>
  </channel>
</rss>

