<?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 I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191828#M153907</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39448-screen-shot-2017-09-20-at-113720-pm.png" style="width: 1730px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18392i40B35402B2AA3ECD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39448-screen-shot-2017-09-20-at-113720-pm.png" alt="39448-screen-shot-2017-09-20-at-113720-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see the 3 mb got transferred in screenshot - 1. And in the screenshot -2 I am specifying my Path where I want it stored. I basically want the CSV file written in the untitled text file. Am I doing it right.? I very new to NIFI. Please Help..:&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35453"&gt;@Wynner&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39449-screen-shot-2017-09-20-at-114113-pm.png" style="width: 1526px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18393iD71E754C9F8FAC8F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39449-screen-shot-2017-09-20-at-114113-pm.png" alt="39449-screen-shot-2017-09-20-at-114113-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 12:16:50 GMT</pubDate>
    <dc:creator>shailuk</dc:creator>
    <dc:date>2022-09-16T12:16:50Z</dc:date>
    <item>
      <title>I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191828#M153907</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39448-screen-shot-2017-09-20-at-113720-pm.png" style="width: 1730px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18392i40B35402B2AA3ECD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39448-screen-shot-2017-09-20-at-113720-pm.png" alt="39448-screen-shot-2017-09-20-at-113720-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see the 3 mb got transferred in screenshot - 1. And in the screenshot -2 I am specifying my Path where I want it stored. I basically want the CSV file written in the untitled text file. Am I doing it right.? I very new to NIFI. Please Help..:&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35453"&gt;@Wynner&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39449-screen-shot-2017-09-20-at-114113-pm.png" style="width: 1526px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18393iD71E754C9F8FAC8F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39449-screen-shot-2017-09-20-at-114113-pm.png" alt="39449-screen-shot-2017-09-20-at-114113-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:16:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191828#M153907</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2022-09-16T12:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191829#M153908</link>
      <description>&lt;P&gt;Hi @&lt;A href="https://community.hortonworks.com/users/44210/nshaileshkrishna92.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Shailesh Nookala&lt;/A&gt;, PutFile processor Writes the contents of a FlowFile to the&lt;STRONG&gt; local file system&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;1.You can find the file in NiFi running nodes only  as the property create missing directories is true, NiFi will creates those directories for you and store the csv file into your directory(i.e /Users/nraghuram/...).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1.Lets take you are having 2 NiFi nodes(E01,E02) and you are running GetFile processor on only &lt;STRONG&gt;primary node&lt;/STRONG&gt;(consider E02 is primary), so when you run on primary node then the File got stored in the specified directory of your processor on&lt;STRONG&gt; primary node&lt;/STRONG&gt;(in our case on E02 because it is primary node).&lt;BR /&gt;2.In this example im having E02 is primary node and running PutFile processor to store File in local directory.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40448-putfile.png" style="width: 509px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18390iAE6CBC1A16756A4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40448-putfile.png" alt="40448-putfile.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3.As Highlighted below the File is on E02 node&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40449-file-on-e02.png" style="width: 1521px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18391i8BFA53A84B7BEAD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40449-file-on-e02.png" alt="40449-file-on-e02.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4.When i store the file it is inside&lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;/d1&lt;/STRONG&gt; directory on &lt;STRONG&gt;E02&lt;/STRONG&gt; node only because i'm running GetFile only on Primary Node.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:22:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191829#M153908</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-18T07:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191830#M153909</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.hortonworks.com/questions/138118/is-it-possible-to-download-a-csv-file-from-filezil.html#"&gt;@Yash&lt;/A&gt;. Thank you so much for taking your time to reply to my Question.&lt;/P&gt;&lt;P&gt;I am sorry I do not understand your answer.  I do not know what nodes are. &lt;/P&gt;&lt;P&gt;What I was trying to do is download a CSV file from filezilla and insert it into a table in sql server. I used FetchFTP to get a CSV file from Filezilla. Before inserting I though I would try writing the file into my local machine. That's where i got struck. &lt;/P&gt;&lt;P&gt;Can you teach me how to insert it into a table in sql server.&lt;/P&gt;&lt;P&gt;If you know any good tutorials. Please suggest me.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 03:00:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191830#M153909</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2017-09-22T03:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191831#M153910</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44210/nshaileshkrishna92.html" nodeid="44210" target="_blank"&gt;@Shailesh Nookala&lt;/A&gt;&lt;BR /&gt;Sure, if you are thinking to&lt;STRONG&gt; insert&lt;/STRONG&gt; the data to &lt;STRONG&gt;Sql Server&lt;/STRONG&gt; we
can do that by using &lt;STRONG&gt;NiFi&lt;/STRONG&gt;, You don’t have to download the file at all. &lt;/P&gt;&lt;P&gt;You can
do that couple of ways by using &lt;STRONG&gt;ExtractText&lt;/STRONG&gt; Processor and extract all the
contents of csv file into attributes and prepare insert statement by using
&lt;STRONG&gt;ReplaceText&lt;/STRONG&gt; Processor and push the data to Sql server.&lt;/P&gt;&lt;P&gt;Another method is preparing &lt;STRONG&gt;json&lt;/STRONG&gt; document for input &lt;STRONG&gt;CSV&lt;/STRONG&gt; file
and extracting all the attributes of flow file and prepare record to insert
data to SQL server.&lt;BR /&gt;
I’m using &lt;STRONG&gt;Json method&lt;/STRONG&gt; which is easy to extract attributes of flowfiles.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; Let’s consider you
are having the csv file having just 2 records in it.&lt;BR /&gt;
1,test,1000&lt;/P&gt;&lt;P&gt;2,test1,2000&lt;/P&gt;&lt;P&gt;As I’m using NiFi 1.1 there is no direct processor which can
convert the incoming csv file to json.&lt;/P&gt;&lt;P&gt;we need to follow &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;InferAvroSchema--&amp;gt;  ConvertCSVToAvro --&amp;gt; ConvertAvroToJSON&lt;/PRE&gt;&lt;P&gt;the output would be in Json format with the same contents of our input
CSV file.&lt;BR /&gt;
But in new versions of &lt;STRONG&gt;NiFi(I think from 1.3)&lt;/STRONG&gt; there are processors to convert
CSV to Json directly using &lt;STRONG&gt;ConvertRecord &lt;/STRONG&gt;Processor.&lt;BR /&gt;
&lt;STRONG&gt;InferAvroSchema:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In this processor I’m giving the incoming csv file
definition (or) you can read header definition from incoming flowfile by
changing Get CSV Header Definition From Data property to true NiFi can
read definition from 1 line of file.&lt;BR /&gt;
as I know my incoming file having id,name,salary I have given this definition
and keep Schema Output Destination to flowfile-attribute we can make use
of this schema in  ConvertCSVToAvro
processor.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40470-infer-avro-schema.png" style="width: 798px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18386i3CA359BFA1132227/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40470-infer-avro-schema.png" alt="40470-infer-avro-schema.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ConvertCSVToAvro:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;change the Record Schema property to&lt;/P&gt;&lt;PRE&gt;${inferred.avro.schema}&lt;/PRE&gt;&lt;P&gt;Which can infer the schema from flowfile attribute.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40471-csvtoavro.png" style="width: 774px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18387i35F2AC99F6A0F7A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40471-csvtoavro.png" alt="40471-csvtoavro.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;
&lt;STRONG&gt;ConvertAvroToJSON:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;drag and drop ConvertAvroToJSON processor and leave the properties
to default.&lt;BR /&gt;&lt;STRONG&gt;
Output:-&lt;/STRONG&gt;&lt;BR /&gt;
[{"id": 1, "name":
"test", "salary": 1000},{"id": 2,
"name": "test1", "salary": 2000}]&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;SplitJson:-&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If you are having more than 1 record in your csv file use
splitjson processor because if  ConvertAvroToJSON
processors find more than one record in the flowfile it will make an array and
keep all the records inside the array.&lt;BR /&gt;
As we need only 1 record in the flowfile before inserting data to Sqlserver.&lt;/P&gt;&lt;P&gt;If your flowfile having array then json path expression property should be&lt;/P&gt;&lt;PRE&gt;$.*&lt;/PRE&gt;&lt;P&gt;as it will dynamically splits the array of records to one record for one flowfile.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;Input:-&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;[{"id": 1, "name": "test","salary": 1000},{"id": 2, "name":"test1", "salary": 2000}]&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Output:-&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;flowfile1:-
{"id": 1, "name": "test", "salary":
1000}flowfile2:-
{"id": 2, "name": "test1", "salary":
2000}&lt;/PRE&gt;&lt;P&gt;As Splijson splits the array into individual records.&lt;BR /&gt;
&lt;STRONG&gt;&lt;BR /&gt;
EvaluateJsonPath configs:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;in this processor extracting all the contents of flowfile to attributes
by changing the list of properties&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;Destination as flowfile-attribute&lt;/PRE&gt;&lt;P&gt;extracting contents of json file by adding new properties by clicking +
symbol on right corner.&lt;/P&gt;&lt;PRE&gt;id as $.id

name as $.name

salary as $.salary&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;ReplaceText Configs:-&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We are preparing insert statement in this processor and
change&lt;/P&gt;&lt;PRE&gt;Replacement Strategy property as AlwaysReplace &lt;/PRE&gt;&lt;P&gt;Use insert statement and give destination table name and use
the extracted attributes to replace the contents of values dynamically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;insert into sqlserver_tablename (id,name,salary) values (${id},${name},${salary})&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;output:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;flowfile1 content:-
insert into sqlserver_tablename (id,name,salary) values(1,test,1000)
flowfile2 content:-
insert into sqlserver_tablename (id,name,salary) values(2,test1,2000)&lt;/PRE&gt;
&lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40472-replacetext-sqlstmt.png" style="width: 1103px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18388i9910A0CE8B33F407/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40472-replacetext-sqlstmt.png" alt="40472-replacetext-sqlstmt.png" /&gt;&lt;/span&gt;&lt;/P&gt;PutSQL Configs:-&lt;/STRONG&gt;&lt;BR /&gt;
use putsql processor and make a connection pool to sql server  enable and use the connection pool.&lt;BR /&gt;
so Putsql processor will executes all the insert statements that we are having
contents of the flowfile and all the data will get inserted to sql server.&lt;P&gt;&lt;STRONG&gt;FlowScreenshot:-&lt;/STRONG&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40475-insert-sqlserver-flow.png" style="width: 1084px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18389i063E810AEE4B0E55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40475-insert-sqlserver-flow.png" alt="40475-insert-sqlserver-flow.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6237iBE7EF8A222F3C11E/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="evaluatejson.png" title="evaluatejson.png" /&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:22:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191831#M153910</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-18T07:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191832#M153911</link>
      <description>&lt;P&gt;Thanks you so much man &lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Yash&lt;/A&gt;. I'll try this out.:)&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 19:28:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191832#M153911</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2017-09-22T19:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191833#M153912</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929" target="_blank"&gt;@Yash&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hi man. I was following your answer step by step. I am getting error. Can you please help me fix it.&lt;/P&gt;&lt;P&gt;I am getting error "Convert CSV to AVRO"  and "Convert "AVRO to JSON "processors.(Ignore the 3 processors in the 1st row)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39489-sc-2.png" style="width: 1808px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18382iD69D5F22CA3F57D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39489-sc-2.png" alt="39489-sc-2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Screenshot - 1 shows the errors.&lt;/P&gt;&lt;P&gt;At Convert CSV to AVRO it says cannot find Schema. &lt;/P&gt;&lt;P&gt;My Configuration of "CSV to AVRO" processor.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39490-convert-csv-to-avro.png" style="width: 1028px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18383i601D7594FD10199D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39490-convert-csv-to-avro.png" alt="39490-convert-csv-to-avro.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;At "AVRO to JSON "processor.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39491-sc-4.png" style="width: 1920px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18384i9128C8F8B5A48107/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39491-sc-4.png" alt="39491-sc-4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;"AVRO to JSON " configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39492-convert-avro-to-json-formation.png" style="width: 1101px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18385i128ABBEDA03AE751/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39492-convert-avro-to-json-formation.png" alt="39492-convert-avro-to-json-formation.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I was trying to get a text file which has CSV's from filezilla. That part worked. and then the second step infer Avro schema also worked. &lt;/P&gt;&lt;P&gt;Is it because my CSV's are in text file, these errors occur.?&lt;/P&gt;&lt;P&gt;The only difference between your input and mine is. You hard coded the headers($is,$ name..) and I set take header from the first line of the file. Is it because of that.?&lt;/P&gt;&lt;P&gt;Please have a look man. Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:22:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191833#M153912</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2019-08-18T07:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191834#M153913</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/44210/nshaileshkrishna92.html" nodeid="44210"&gt;@Shailesh Nookala&lt;/A&gt; &lt;BR /&gt;i don't think header is causing these issues as i tried the same way as you and its working as expected.&lt;BR /&gt;But as i have observed in your flow you have connected all the &lt;STRONG&gt;available relations&lt;/STRONG&gt; on each processor to the &lt;STRONG&gt;next processor&lt;/STRONG&gt;, that's causing issues for you and i have seen &lt;STRONG&gt;PutFile&lt;/STRONG&gt; processor instead of &lt;STRONG&gt;PutSQL&lt;/STRONG&gt; in your flow.&lt;BR /&gt;Are you storing the &lt;STRONG&gt;prepared&lt;/STRONG&gt; records to &lt;STRONG&gt;file&lt;/STRONG&gt;? i thought you are pushing the prepared records to &lt;STRONG&gt;SQL server&lt;/STRONG&gt;, is my assumption is wrong?. &lt;STRONG&gt;&lt;U&gt;Connect only the following Relationships to the Next Processors:-&lt;/U&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;GetFile(Sucputsql.xmlcess)--&amp;gt;InferAvroSchema(Success)--&amp;gt;ConvertCSVToAvro(Success)--&amp;gt;ConvertAvroToJSON(Success)--&amp;gt;SplitJson(Split)--&amp;gt;EvaluateJsonPath(Matched)--&amp;gt;ReplaceText(Success)--&amp;gt;PutSQL(Autoterminate Success).&lt;/PRE&gt;&lt;P&gt;I have attached my .xml file use this make changes to that as per you needs.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/40488-putsql.xml"&gt;putsql.xml&lt;/A&gt;&lt;STRONG&gt;&lt;U&gt;&lt;BR /&gt;input :-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;name,adresse,zip
1,hi,8000&lt;/PRE&gt;
&lt;STRONG&gt;&lt;U&gt;InferAvroSchema configs:-&lt;/U&gt;&lt;/STRONG&gt;
&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/40485-infer-avro.png"&gt;infer-avro.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/40485-infer-avro.png"&gt;&lt;/A&gt;&lt;STRONG&gt;&lt;U&gt;Convertcsvtoavro configs:-&lt;/U&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/40486-csvtoavro.png"&gt;csvtoavro.png&lt;/A&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;U&gt;Output:-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;{
  "name" : 1,
  "adresse" : "hi",
  "zip" : 8000
}&lt;/PRE&gt;</description>
      <pubDate>Sun, 24 Sep 2017 09:36:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191834#M153913</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2017-09-24T09:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191835#M153914</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/18929/yaswanthmuppireddy.html"&gt;@Yash&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi.. Your understanding is right..I am trying to insert it into the table only. I just wanted to see what the output is at the end of the flow..That's why I added PUTFILE. I'll change it. Again thank you so much for replying. I'll make the changes and try again.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Sep 2017 23:16:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191835#M153914</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2017-09-24T23:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191836#M153915</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/18929/yaswanthmuppireddy.html" rel="nofollow noopener noreferrer" target="_blank"&gt;@Yash&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi..I changed the relationship in all my processors. I get this error in all of them. Please take a look.&lt;/P&gt;&lt;P&gt;I am getting the relationship error in all my processors.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39503-sc-1.png" style="width: 1920px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18379i956784354DA7F117/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39503-sc-1.png" alt="39503-sc-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is what I did in the bridge that connects "InferAvroSchema" and "convert CSV to AVRO".(screenshot - 2)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39504-sc-2.png" style="width: 1028px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18380i475CE1BA0F3F2C3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39504-sc-2.png" alt="39504-sc-2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is my "inferavro" configuration&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39505-sc-3.png" style="width: 956px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18381i3257877F5DE18D44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39505-sc-3.png" alt="39505-sc-3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I select success in "Automatically terminate relationships" it gets selected and after I connect it to the next processor it gets un-selected automatically.&lt;/P&gt;&lt;P&gt;Please take a look.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:21:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191836#M153915</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2019-08-18T07:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191837#M153916</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44210/nshaileshkrishna92.html" nodeid="44210" target="_blank"&gt;@Shailesh Nookala&lt;/A&gt; &lt;BR /&gt;as you have given Inferavroschema processor &lt;STRONG&gt;Success&lt;/STRONG&gt; relation to &lt;STRONG&gt;convertAvrotoJson&lt;/STRONG&gt; processor then you need to &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Except success&lt;/STRONG&gt; relation&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Auto terminate&lt;/STRONG&gt; the following relations&lt;STRONG&gt; failure,original,unsupported content &lt;/STRONG&gt;i.e click on the &lt;STRONG&gt;check boxes &lt;/STRONG&gt;for these 3 relations.&lt;/LI&gt;&lt;LI&gt;Make sure you &lt;STRONG&gt;haven't selected success&lt;/STRONG&gt; relation.&lt;/LI&gt;&lt;LI&gt;Click on &lt;STRONG&gt;Apply button&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40500-autoterminate.png" style="width: 701px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18378i0F36BD5903434350/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40500-autoterminate.png" alt="40500-autoterminate.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;why we haven't Autoterminated Success Relation?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Reason is we have connected &lt;STRONG&gt;success relation&lt;/STRONG&gt; to convertavrotojson processor.&lt;/P&gt;&lt;P&gt;Once you are done with this &lt;STRONG&gt;do&lt;/STRONG&gt; the &lt;STRONG&gt;same steps&lt;/STRONG&gt; for all the other processors auto terminate all the relations &lt;STRONG&gt;Except&lt;/STRONG&gt; the&lt;STRONG&gt; relation&lt;/STRONG&gt; that you &lt;STRONG&gt;have connected&lt;/STRONG&gt; to the &lt;STRONG&gt;next processor&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;For the &lt;STRONG&gt;final processor(PutSQL) Auto Terminate success&lt;/STRONG&gt; and &lt;STRONG&gt;reconnect failure and retry to the same processor&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:21:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191837#M153916</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-18T07:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191838#M153917</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929" target="_blank"&gt;@Shu&lt;/A&gt;&lt;P&gt; I've been hard-coding the replacement value property in REPLACE TEXT processor ( eg - "insert into table_name values (..)" ).&lt;/P&gt;&lt;P&gt;Is there a way to do it dynamically.? Can I use reg-ex.? I tried a couple if things. It did not work. Can you please tell me what Search Value is.? &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40639-nifi-1.png" style="width: 802px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18377i3EB78ED53CF8BF60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40639-nifi-1.png" alt="40639-nifi-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:21:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191838#M153917</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2019-08-18T07:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191839#M153918</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/44210/nshaileshkrishna92.html" nodeid="44210" target="_blank"&gt;@Shailesh Nookala&lt;/A&gt;, Keep Search Value config as is &lt;STRONG&gt;(?s)(^.*$)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;ReplaceText Configs:-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We are preparing insert statement in this processor and change&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Change ReplacementStrategy property to&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;AlwaysReplace&lt;/PRE&gt;&lt;P&gt;Use insert statement and give destination table name and use the extracted attributes to replace the contents of values dynamically.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;change Replacement Value property to&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;insert into sqlserver_tablename (id,name,salary) values (${id},${name},${salary})&lt;/PRE&gt;&lt;P&gt;above statement will work dynamically with the attributes of the ff if we are having &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;id&lt;/STRONG&gt; attribute value as &lt;STRONG&gt;1 &lt;/STRONG&gt; and &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;name&lt;/STRONG&gt; as &lt;STRONG&gt;abc&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;salary&lt;/STRONG&gt; as &lt;STRONG&gt;1000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;then this insert statement will be &lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;insert into sqlserver_tablename (id,name,salary) values (1,abc,1000)&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;the same way this replace text processor prepares insert statements according to the attributes associated with the ff.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;ReplaceText Configs:-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40688-replace-text.png" style="width: 696px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18376iCA4CB327CB11811E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40688-replace-text.png" alt="40688-replace-text.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;let me know if you still facing issues and please share more screenshots with configs and flow...!!!&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:21:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191839#M153918</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-18T07:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191840#M153919</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" target="_blank"&gt;@Shu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please help me fix this error. It says Incorrect syntax near','. Not able to figure out where I am making this error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40732-screen-shot-2017-10-yjmzo.jpg" style="width: 1440px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18375i0E43CFEB5B7FF033/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40732-screen-shot-2017-10-yjmzo.jpg" alt="40732-screen-shot-2017-10-yjmzo.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This is my CSV file.&lt;/P&gt;&lt;P&gt;My insert statement is&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;insert into [test_shailesh].[dbo].[nifiTest](policyID,statecode,county) values (${policyID},${statecode},${county})&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:21:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191840#M153919</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2019-08-18T07:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191841#M153920</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929" target="_blank"&gt;@Shu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is the output of my &lt;STRONG&gt;EVALUATEJSONPATH &lt;/STRONG&gt;Processor -&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40741-screen-shot-2017-10-08-at-105336-am.png" style="width: 770px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18371i26FFCE07FF0F20DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40741-screen-shot-2017-10-08-at-105336-am.png" alt="40741-screen-shot-2017-10-08-at-105336-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Guess this is fine.&lt;/P&gt;&lt;P&gt;This is the output of my &lt;STRONG&gt;REPLACETEXT&lt;/STRONG&gt; processor&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40742-screen-shot-2017-10-08-at-110240-am.png" style="width: 340px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18372i76012951481A9046/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40742-screen-shot-2017-10-08-at-110240-am.png" alt="40742-screen-shot-2017-10-08-at-110240-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Don't really much about this. &lt;/P&gt;&lt;P&gt;This is the output of my &lt;STRONG&gt;PUTSQL&lt;/STRONG&gt; processor&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40743-screen-shot-2017-10-08-at-105933-am.png" style="width: 638px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18373iC3C6245519312EF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40743-screen-shot-2017-10-08-at-105933-am.png" alt="40743-screen-shot-2017-10-08-at-105933-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you see the values section is blank with just two commas. Can you please tell me what is going wrong.&lt;/P&gt;&lt;P&gt;My insert statement in &lt;STRONG&gt;REPLACETEXT&lt;/STRONG&gt; processor&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;insert into [test_shailesh].[dbo].[nifiTest](policyID,statecode,county) values (${policyID},${statecode},${county})&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;my overall flow -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40744-screen-shot-2017-10-08-at-110346-am.jpg" style="width: 2106px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18374iF8803BA93700DA34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40744-screen-shot-2017-10-08-at-110346-am.jpg" alt="40744-screen-shot-2017-10-08-at-110346-am.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:20:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191841#M153920</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2019-08-18T07:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191842#M153921</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I am not able to attach my CSV file. My CSV file has these two records.&lt;/P&gt;&lt;P&gt;policyID,statecode,county &lt;/P&gt;&lt;P&gt;498960,498960,498960 &lt;/P&gt;&lt;P&gt;498960,498960,792148&lt;/P&gt;&lt;P&gt;name of my CSV file - &lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;FL_insurance_sample.csv&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I created a table in my sql server with these three columns names all being varchar data type. &lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2017 00:11:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191842#M153921</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2017-10-09T00:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191843#M153922</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44210/nshaileshkrishna92.html" nodeid="44210"&gt;@Shailesh Nookala&lt;/A&gt;, i tested out with your csv file its working fine, can you attach all of your processors configs screenshots please.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2017 00:41:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191843#M153922</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2017-10-09T00:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191844#M153923</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929" target="_blank"&gt;@Shu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sure man. Here are the screenshots of all my processors -&lt;/P&gt;&lt;P&gt;1)&lt;STRONG&gt; GetFTP processor -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39714-capture.png" style="width: 774px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18366iF020227E9CC2DFD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39714-capture.png" alt="39714-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(contd)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39715-ss-2.png" style="width: 780px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18367iF8C412E1E59BDD55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39715-ss-2.png" alt="39715-ss-2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG&gt;InferAROSchema -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39716-inferavroschema-3.png" style="width: 773px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18368iB77764B37B064EB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39716-inferavroschema-3.png" alt="39716-inferavroschema-3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3) &lt;STRONG&gt;ConvertCSVtoAVRO&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39717-csvtoavro-4.png" style="width: 779px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18369i640ABE53D1D198B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39717-csvtoavro-4.png" alt="39717-csvtoavro-4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4) &lt;STRONG&gt;AVROToJSON&lt;/STRONG&gt; - &lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39718-avrotojson-5.png" style="width: 788px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18370i6ABB05A45F4CD558/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39718-avrotojson-5.png" alt="39718-avrotojson-5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(I'll post the rest it in the next answer since I allowed to post only 5 attachments)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:19:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191844#M153923</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2019-08-18T07:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: I used GetFTP processor to get a CSV file from filezilla and transferred it to a PUTFILE. it worked but when I open the directory where I wanted the file to save in laptop. It's not there.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191845#M153924</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It worked man! Thank you so very much:)&lt;/P&gt;&lt;P&gt;LoL. One last thing, What if the my table has more number of columns lets say 15-20 columns. Do we still have to hard code all the column names in the processors.?&lt;/P&gt;&lt;P&gt;eg - &lt;/P&gt;&lt;P&gt;In the insert statement (in &lt;STRONG&gt;replaceText &lt;/STRONG&gt;processor) where we do &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;insert into table_name value &lt;/STRONG&gt;&lt;B&gt;(${column1},${column2}................)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Is there a way that nifi can do this dynamically? I mean if there are 20-25 columns in my table then it would be a pain to mention all the column names in the insert statement. Can I use regex or something.?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2017 20:43:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-used-GetFTP-processor-to-get-a-CSV-file-from-filezilla-and/m-p/191845#M153924</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2017-10-09T20:43:57Z</dc:date>
    </item>
  </channel>
</rss>

