<?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: I want to insert data into the database without converting data into json in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-want-to-insert-data-into-the-database-without-converting/m-p/157348#M57105</link>
    <description>&lt;P&gt;For CSV files, if you know the number and type of column values, you can use SplitText (to get one row per flow file) followed by ExtractText, supplying a regular expression to get the column values out into flow file attributes. Then you can use ReplaceText to manually enter a SQL INSERT statement (using &lt;A target="_blank" href="https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html"&gt;NiFi Expression Language&lt;/A&gt; to access the attributes).  For other formats like Avro, as we don't currently have a ConvertAvroToSQL processor, you'd have to convert them for now. &lt;/P&gt;&lt;P&gt;Work is underway for a generic system of type conversions, such that you could specify Avro as your input format and perhaps "SQL INSERT" as your output format, thereby effectively making the generic processor work like a ConvertAvroToSQL processor.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2017 19:52:59 GMT</pubDate>
    <dc:creator>mburgess</dc:creator>
    <dc:date>2017-03-15T19:52:59Z</dc:date>
    <item>
      <title>I want to insert data into the database without converting data into json</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-want-to-insert-data-into-the-database-without-converting/m-p/157347#M57104</link>
      <description>&lt;P&gt;Hi....I have data in various kinds of files and i want to insert them into database but i don't want it to convert them first into JSON and then to SQL as it is very time consuming.Is there any way so that i can put my data into database from different kinds of files like CSV,Avro etc directly?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 15:11:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-want-to-insert-data-into-the-database-without-converting/m-p/157347#M57104</guid>
      <dc:creator>prakharagrawal6</dc:creator>
      <dc:date>2017-03-15T15:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: I want to insert data into the database without converting data into json</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-want-to-insert-data-into-the-database-without-converting/m-p/157348#M57105</link>
      <description>&lt;P&gt;For CSV files, if you know the number and type of column values, you can use SplitText (to get one row per flow file) followed by ExtractText, supplying a regular expression to get the column values out into flow file attributes. Then you can use ReplaceText to manually enter a SQL INSERT statement (using &lt;A target="_blank" href="https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html"&gt;NiFi Expression Language&lt;/A&gt; to access the attributes).  For other formats like Avro, as we don't currently have a ConvertAvroToSQL processor, you'd have to convert them for now. &lt;/P&gt;&lt;P&gt;Work is underway for a generic system of type conversions, such that you could specify Avro as your input format and perhaps "SQL INSERT" as your output format, thereby effectively making the generic processor work like a ConvertAvroToSQL processor.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 19:52:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-want-to-insert-data-into-the-database-without-converting/m-p/157348#M57105</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2017-03-15T19:52:59Z</dc:date>
    </item>
  </channel>
</rss>

