<?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 How to get Flowfiles with .avro extension and specific prefix or suffix to the file name? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-Flowfiles-with-avro-extension-and-specific-prefix/m-p/242876#M204675</link>
    <description>&lt;P&gt;I am trying s simple workflow ExecuteSQL -&amp;gt; PutSFTP, I want my flowfiles to be with .avro extension as well as I want to add either a prefix or suffix to the file name. For example if I am extracting employee data then I want flowfile name should be employee&amp;lt;timestamp/randomnumber&amp;gt;.avro&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;/P&gt;&lt;H1&gt;&lt;/H1&gt;</description>
    <pubDate>Fri, 25 Jan 2019 05:00:51 GMT</pubDate>
    <dc:creator>raghupradeepl</dc:creator>
    <dc:date>2019-01-25T05:00:51Z</dc:date>
    <item>
      <title>How to get Flowfiles with .avro extension and specific prefix or suffix to the file name?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-Flowfiles-with-avro-extension-and-specific-prefix/m-p/242876#M204675</link>
      <description>&lt;P&gt;I am trying s simple workflow ExecuteSQL -&amp;gt; PutSFTP, I want my flowfiles to be with .avro extension as well as I want to add either a prefix or suffix to the file name. For example if I am extracting employee data then I want flowfile name should be employee&amp;lt;timestamp/randomnumber&amp;gt;.avro&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;/P&gt;&lt;H1&gt;&lt;/H1&gt;</description>
      <pubDate>Fri, 25 Jan 2019 05:00:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-Flowfiles-with-avro-extension-and-specific-prefix/m-p/242876#M204675</guid>
      <dc:creator>raghupradeepl</dc:creator>
      <dc:date>2019-01-25T05:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Flowfiles with .avro extension and specific prefix or suffix to the file name?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-Flowfiles-with-avro-extension-and-specific-prefix/m-p/242877#M204676</link>
      <description>&lt;P&gt;I was able to find solution similar to &lt;A href="https://community.hortonworks.com/answers/74595/view.html" target="_blank"&gt;https://community.hortonworks.com/answers/74595/view.html&lt;/A&gt; Thanks &lt;A rel="user" href="https://community.cloudera.com/users/11098/dpinkston.html" nodeid="11098"&gt;@Devin Pinkston&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I used as below&lt;/P&gt;&lt;P&gt;ExecuteSQL -&amp;gt; UpdateAttribute added a property "filename" with value "employee.${filename}.${now():format("yyyy-MM-dd-HH-mm-ss-SSS")}.avro" -&amp;gt; PutSFTP&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 06:07:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-Flowfiles-with-avro-extension-and-specific-prefix/m-p/242877#M204676</guid>
      <dc:creator>raghupradeepl</dc:creator>
      <dc:date>2019-01-25T06:07:10Z</dc:date>
    </item>
  </channel>
</rss>

