<?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: ​Need parsing and import data from ftp to sql database with nifi. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Need-parsing-and-import-data-from-ftp-to-sql-database-with/m-p/216524#M178433</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/83297/vscherbakov.html" nodeid="83297"&gt;@Vladislav Shcherbakov&lt;/A&gt;&lt;P&gt;It depends on how the file is been stored on FTP server side if the file is in CSV format then FetchFTP processor pulls the file in CSV format. Fetching of files won't change the format of the file in NiFi.&lt;/P&gt;&lt;P&gt;If the file is in CSV format on source server side then in PutDatabaseRecord processor you need to configure/enable CSV Reader processor so that processor reads the incoming data and executes sql statements based on the SqlType property value.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jun 2018 17:46:29 GMT</pubDate>
    <dc:creator>Shu_ashu</dc:creator>
    <dc:date>2018-06-07T17:46:29Z</dc:date>
    <item>
      <title>​Need parsing and import data from ftp to sql database with nifi.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Need-parsing-and-import-data-from-ftp-to-sql-database-with/m-p/216521#M178430</link>
      <description>&lt;P&gt;Hi. It's my first days with nifi, so&lt;STRONG&gt; I need a lot of help!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Firstly, I've got ftp from which I need to get data. After it need to parsing and processing data. And download them on sql database.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;P.S. As I understand, need to use ListFTP and FetchFTP to take data from ftp and transform them into FlowFile. But what after it? Which processors should I use?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;P.S.S. Hope clearly explained.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 16:55:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Need-parsing-and-import-data-from-ftp-to-sql-database-with/m-p/216521#M178430</guid>
      <dc:creator>vscherbakov</dc:creator>
      <dc:date>2018-06-07T16:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: ​Need parsing and import data from ftp to sql database with nifi.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Need-parsing-and-import-data-from-ftp-to-sql-database-with/m-p/216522#M178431</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/83297/vscherbakov.html" nodeid="83297"&gt;@Vladislav Shcherbakov&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;You need to use PutDataBaseRecord processor to push data to Sql database from NiFi.&lt;/P&gt;&lt;P&gt;Configure/enable Record Reader controller service(avro schema that matches incoming data) that can read the incoming data and and database connection then give all the details about your target table in sql server.&lt;/P&gt;&lt;P&gt;Refer to &lt;A href="https://gist.github.com/ijokarumawak/b37db141b4d04c2da124c1a6d922f81f" target="_blank"&gt;this&lt;/A&gt; link to get more details regarding configs/usage of PutDatabaseRecord processor and to &lt;A href="https://community.hortonworks.com/articles/115311/convert-csv-to-json-avro-xml-using-convertrecord-p.html" target="_blank"&gt;this&lt;/A&gt; link how to Configure Record Reader controller service.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 17:08:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Need-parsing-and-import-data-from-ftp-to-sql-database-with/m-p/216522#M178431</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-06-07T17:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: ​Need parsing and import data from ftp to sql database with nifi.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Need-parsing-and-import-data-from-ftp-to-sql-database-with/m-p/216523#M178432</link>
      <description>&lt;P&gt;Thx a lot!&lt;BR /&gt;But I still got a few questions. If you can help - it will be perfect!&lt;BR /&gt;At the output FetchFTP, we get a file of the CSV format?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 17:27:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Need-parsing-and-import-data-from-ftp-to-sql-database-with/m-p/216523#M178432</guid>
      <dc:creator>vscherbakov</dc:creator>
      <dc:date>2018-06-07T17:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: ​Need parsing and import data from ftp to sql database with nifi.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Need-parsing-and-import-data-from-ftp-to-sql-database-with/m-p/216524#M178433</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/83297/vscherbakov.html" nodeid="83297"&gt;@Vladislav Shcherbakov&lt;/A&gt;&lt;P&gt;It depends on how the file is been stored on FTP server side if the file is in CSV format then FetchFTP processor pulls the file in CSV format. Fetching of files won't change the format of the file in NiFi.&lt;/P&gt;&lt;P&gt;If the file is in CSV format on source server side then in PutDatabaseRecord processor you need to configure/enable CSV Reader processor so that processor reads the incoming data and executes sql statements based on the SqlType property value.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 17:46:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Need-parsing-and-import-data-from-ftp-to-sql-database-with/m-p/216524#M178433</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-06-07T17:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: ​Need parsing and import data from ftp to sql database with nifi.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Need-parsing-and-import-data-from-ftp-to-sql-database-with/m-p/216525#M178434</link>
      <description>&lt;P&gt;And thanks again!&lt;BR /&gt;I hope this will be enough for the first time.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 18:02:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Need-parsing-and-import-data-from-ftp-to-sql-database-with/m-p/216525#M178434</guid>
      <dc:creator>vscherbakov</dc:creator>
      <dc:date>2018-06-07T18:02:42Z</dc:date>
    </item>
  </channel>
</rss>

