<?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: tRestClient and delimited results in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333650#M102412</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You could extract the Statuscode (Approved), Body and String from the whole content using regex?&lt;/P&gt;&lt;P&gt;There is a component tExtractDelimitedFields which generates multiple columns from a delimited string column and then map all your inputs to required 3 outputs.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 08:15:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-11-17T08:15:57Z</dc:date>
    <item>
      <title>tRestClient and delimited results</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333647#M102409</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need some help with processing the Result of a tRestClient. The result looks like this in tLogRow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID;From;To;Half a day;Morning;User ID;Employee number;Type;Extra vacation day;State;Substitute state;Workdays;Hours;Medical certificate (sick leave only);Comments;User ID of the substitute&lt;/P&gt;&lt;P&gt;10358;13/04/2022;14/04/2022;false;false;12;143;Vacation;false;Approved;Approved;2.0;0.0; ; ;17&lt;/P&gt;&lt;P&gt;10086;07/03/2022;09/03/2022;false;false;17;146;Sickness;false;Done;Approved;3.0;0.0;true; ;12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My tRestClient returns only 3 columns in the response scheme: Statuscode, Body and String. In My tLogRow i only output the String. That means t&lt;/P&gt;&lt;P&gt;he result of the RestCall are already csv-delimited rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i process those rows, that i get the columns out of it? I'd like to avoid writing all those rows into a temporary file and read that file again. Is there another component i can use for that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 16:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333647#M102409</guid>
      <dc:creator>HoS1</dc:creator>
      <dc:date>2022-11-16T16:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient and delimited results</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333648#M102410</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You are able to extract the columns from the output response using regex via tExtractRegexFields/tJavaRow component in talend.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 07:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333648#M102410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-17T07:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient and delimited results</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333649#M102411</link>
      <description>&lt;P&gt;Could you please provide an example for the tExtractRegexFields component? I understand what regex does, but i don't know how to get the columns out of the string by using the tExtractRegexFields.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Holger&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 07:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333649#M102411</guid>
      <dc:creator>HoS1</dc:creator>
      <dc:date>2022-11-17T07:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient and delimited results</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333650#M102412</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You could extract the Statuscode (Approved), Body and String from the whole content using regex?&lt;/P&gt;&lt;P&gt;There is a component tExtractDelimitedFields which generates multiple columns from a delimited string column and then map all your inputs to required 3 outputs.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 08:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333650#M102412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-17T08:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient and delimited results</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333651#M102413</link>
      <description>&lt;P&gt;@Holger Schleicher​&amp;nbsp; here is an example :&lt;/P&gt;&lt;P&gt;input string:  "[Monday] meeting with john [priority: high] [place: office]"&lt;/P&gt;&lt;P&gt;regex pattern: "^\\[(\\w+)\\]([^\\[]+)\\[priority:\\s*(\\w+)\\]\\s*\\[place:\\s*([^\\]]+)\\]"&lt;/P&gt;&lt;P&gt;the pattern will match the string for 4 groups&lt;/P&gt;&lt;P&gt;so we define 4 columns as the output schema for tExtractRegexFields&amp;nbsp; as the below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Z21OcAAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151309iBD936D88D37A10F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Z21OcAAJ.png" alt="0695b00000Z21OcAAJ.png" /&gt;&lt;/span&gt;and the output is like the below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Z21OhAAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131276i6DDC0227C32699C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Z21OhAAJ.png" alt="0695b00000Z21OhAAJ.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 10:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333651#M102413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-17T10:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient and delimited results</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333652#M102414</link>
      <description>&lt;P&gt;I tried to use &lt;/P&gt;&lt;P&gt;(\d*);(\d\d/\d\d/\d\d\d\d);(\d\d/\d\d/\d\d\d\d);(true|false);(true|false);(\d*);(\d*);([a-zA-Z]*);(true|false);([a-zA-Z]*);([a-zA-Z]*);(\d*.\d*);(\d*.\d*);([a-zA-Z]*|\s);([a-zA-Z]*|\s);(\d*)&lt;/P&gt;&lt;P&gt;as my Regex. In regex101.com it correctly splits my row into 16 parts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Talend i get this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Detail Message: Invalid escape sequence (valid ones are&amp;nbsp;\b&amp;nbsp;\t&amp;nbsp;\n&amp;nbsp;\f&amp;nbsp;\r&amp;nbsp;\"&amp;nbsp;\'&amp;nbsp;\\ )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to java regexp my pattern is correct. What's talend complaining?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kond regards&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 10:43:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333652#M102414</guid>
      <dc:creator>HoS1</dc:creator>
      <dc:date>2022-11-17T10:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient and delimited results</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333653#M102415</link>
      <description>&lt;P&gt;Actually, i didn't know that talend needs \\. I use &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"(\\d*);(\\d\\d/\\d\\d/\\d\\d\\d\\d);(\\d\\d/\\d\\d/\\d\\d\\d\\d);(true|false);(true|false);(\\d*);(\\d*);(Sickness);(true|false);(.+);(.+);(\\d*.\\d*);(\\d*.\\d*);(true);(.+);(\\d*)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now and it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks everyone and kind regards&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 13:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-and-delimited-results/m-p/2333653#M102415</guid>
      <dc:creator>HoS1</dc:creator>
      <dc:date>2022-11-17T13:17:41Z</dc:date>
    </item>
  </channel>
</rss>

