<?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>question Re: Error with replaceText timestamp add a quota in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-with-replaceText-timestamp-add-a-quota/m-p/199753#M78523</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/70151/amirakhalifa.html" nodeid="70151" target="_blank"&gt;@Amira khalifa&lt;/A&gt;&lt;P&gt;You are having timestamp column format as &lt;STRONG&gt;2008:05:17 17:23:01&lt;/STRONG&gt;(with colon delimiter).&lt;/P&gt;&lt;P&gt;Use the ReplaceText processor with below configs&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="74498-replacetext.png" style="width: 1402px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17618i3CCDC3F642FAA797/image-size/medium?v=v2&amp;amp;px=400" role="button" title="74498-replacetext.png" alt="74498-replacetext.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Search Value
&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;(\d{4}:\d{2}:\d{2})(\s+)(\d{2}:\d{2}:\d{2})&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;Replacement Value
&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;'$1$2$3'&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;Character Set
&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;UTF-8&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;Maximum Buffer Size
&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;1 MB //change the value as per your flowfile size&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;Replacement Strategy
&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;Regex Replace&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;Evaluation Mode
&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;Entire text&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Input Flowfile:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;2008:05:17 17:23:01 --other fields&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Outputflowfile:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;'2008:05:17 17:23:01' --other fields&lt;/PRE&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If the Answer helped to resolve your issue, &lt;STRONG&gt;Click on Accept button below to accept the answer, &lt;/STRONG&gt;That would be great help to Community users to find solution quickly for these kind of issues.&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 05:51:45 GMT</pubDate>
    <dc:creator>Shu_ashu</dc:creator>
    <dc:date>2019-08-18T05:51:45Z</dc:date>
    <item>
      <title>Error with replaceText timestamp add a quota</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-with-replaceText-timestamp-add-a-quota/m-p/199752#M78522</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a timestamp column in my flowfile written in this way 2008:05:17 17:23:01. I want to add a quota to this value so i can insert it in postgresql table. I used replace text like this :&lt;/P&gt;&lt;P&gt;search value : ((\d{4})([\-\/.])([0-3]?\d)\2([0-3]?\d)|([0-3]?\d)([\-\/.])([0-3]?\d)\6(\d{4}))(?:\s+([012]?\d)([:hap])([0-5]\d))([:hap])([0-5]\d)&lt;/P&gt;&lt;P&gt;replacement value : ' ((\d{4})([\-\/.])([0-3]?\d)\2([0-3]?\d)|([0-3]?\d)([\-\/.])([0-3]?\d)\6(\d{4}))(?:\s+([012]?\d)([:hap])([0-5]\d))([:hap])([0-5]\d) '&lt;/P&gt;&lt;P&gt;but didn't work&lt;/P&gt;&lt;P&gt;need ur help plz&lt;/P&gt;</description>
      <pubDate>Sun, 20 May 2018 17:54:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-with-replaceText-timestamp-add-a-quota/m-p/199752#M78522</guid>
      <dc:creator>AmiraKhalifa</dc:creator>
      <dc:date>2018-05-20T17:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error with replaceText timestamp add a quota</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-with-replaceText-timestamp-add-a-quota/m-p/199753#M78523</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/70151/amirakhalifa.html" nodeid="70151" target="_blank"&gt;@Amira khalifa&lt;/A&gt;&lt;P&gt;You are having timestamp column format as &lt;STRONG&gt;2008:05:17 17:23:01&lt;/STRONG&gt;(with colon delimiter).&lt;/P&gt;&lt;P&gt;Use the ReplaceText processor with below configs&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="74498-replacetext.png" style="width: 1402px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17618i3CCDC3F642FAA797/image-size/medium?v=v2&amp;amp;px=400" role="button" title="74498-replacetext.png" alt="74498-replacetext.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Search Value
&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;(\d{4}:\d{2}:\d{2})(\s+)(\d{2}:\d{2}:\d{2})&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;Replacement Value
&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;'$1$2$3'&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;Character Set
&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;UTF-8&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;Maximum Buffer Size
&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;1 MB //change the value as per your flowfile size&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;Replacement Strategy
&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;Regex Replace&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;Evaluation Mode
&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;Entire text&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Input Flowfile:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;2008:05:17 17:23:01 --other fields&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Outputflowfile:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;'2008:05:17 17:23:01' --other fields&lt;/PRE&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If the Answer helped to resolve your issue, &lt;STRONG&gt;Click on Accept button below to accept the answer, &lt;/STRONG&gt;That would be great help to Community users to find solution quickly for these kind of issues.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 05:51:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-with-replaceText-timestamp-add-a-quota/m-p/199753#M78523</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-18T05:51:45Z</dc:date>
    </item>
  </channel>
</rss>

