<?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: How to read a .DAT file in Nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-read-a-DAT-file-in-Nifi/m-p/227550#M189410</link>
    <description>&lt;P&gt;I guess you need to first give some details on the format or origin of your .DAT file. There is more than just one format associated to this extension.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Apr 2018 19:57:17 GMT</pubDate>
    <dc:creator>arald</dc:creator>
    <dc:date>2018-04-30T19:57:17Z</dc:date>
    <item>
      <title>How to read a .DAT file in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-read-a-DAT-file-in-Nifi/m-p/227549#M189409</link>
      <description>&lt;P&gt;Dear Hortonworks,&lt;BR /&gt;&lt;BR /&gt;How can we read a .DAT file in Nifi or transform it in CSV or JSON ? Should I create a custom processor in Java or is a possibility by reading it directly in Nifi ? Thank you !&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:09:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-read-a-DAT-file-in-Nifi/m-p/227549#M189409</guid>
      <dc:creator>stefan_constant</dc:creator>
      <dc:date>2022-09-16T13:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a .DAT file in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-read-a-DAT-file-in-Nifi/m-p/227550#M189410</link>
      <description>&lt;P&gt;I guess you need to first give some details on the format or origin of your .DAT file. There is more than just one format associated to this extension.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 19:57:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-read-a-DAT-file-in-Nifi/m-p/227550#M189410</guid>
      <dc:creator>arald</dc:creator>
      <dc:date>2018-04-30T19:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a .DAT file in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-read-a-DAT-file-in-Nifi/m-p/227551#M189411</link>
      <description>&lt;P&gt;We receive the .DAT files directly from the client which for the normal process that we have in place, ETL using ODI, we are open it in excel. But I wanted to know if there is a way to convert it or read it because we need to store the data of it in a table.&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 17:04:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-read-a-DAT-file-in-Nifi/m-p/227551#M189411</guid>
      <dc:creator>stefan_constant</dc:creator>
      <dc:date>2018-05-02T17:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a .DAT file in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-read-a-DAT-file-in-Nifi/m-p/227552#M189412</link>
      <description>&lt;P&gt;so it has the format of basically providing the sql statements? Like this example from Oracle?&lt;/P&gt;&lt;PRE&gt;begin
insert into ODI_STAGE.SRC_SALES_PERSON1 values
(11,'Andrew','Andersen','22/02/1999',sysdate);&lt;BR /&gt;insert into ODI_STAGE.SRC_SALES_PERSON1 values&lt;BR /&gt;(12,'John','Galagers','20/04/2000',sysdate);
end;&lt;/PRE&gt;&lt;P&gt;If that's the case, you can process and transform the file with Nifi.&lt;/P&gt;&lt;P&gt;And here is a nice tutorial on how to achieve it using GetFile and SplitText processors:&lt;BR /&gt;&lt;A href="https://community.hortonworks.com/articles/66861/nifi-etl-removing-columns-filtering-rows-changing.html" target="_blank"&gt;https://community.hortonworks.com/articles/66861/nifi-etl-removing-columns-filtering-rows-changing.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 17:55:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-read-a-DAT-file-in-Nifi/m-p/227552#M189412</guid>
      <dc:creator>arald</dc:creator>
      <dc:date>2018-05-02T17:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a .DAT file in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-read-a-DAT-file-in-Nifi/m-p/227553#M189413</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;It wasn't that the case. Anyway, I tried to use UpdateAttribute processor to change the filename to .CSV and it works in this way. Thank you for your time !&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 14:40:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-read-a-DAT-file-in-Nifi/m-p/227553#M189413</guid>
      <dc:creator>stefan_constant</dc:creator>
      <dc:date>2018-05-04T14:40:33Z</dc:date>
    </item>
  </channel>
</rss>

