<?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: error with insert statement in puthiveql processor in nifi in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-with-insert-statement-in-puthiveql-processor-in-nifi/m-p/203514#M62605</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18919/shivanandkobanna5.html" nodeid="18919"&gt;@shivanand khobanna&lt;/A&gt; - I think you accidentally asked the same question twice:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/106919/error-with-insert-statement-in-puthiveql-processor-1.html" target="_blank"&gt;https://community.hortonworks.com/questions/106919/error-with-insert-statement-in-puthiveql-processor-1.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please close this one.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2017 03:27:34 GMT</pubDate>
    <dc:creator>namaheshwari</dc:creator>
    <dc:date>2017-06-09T03:27:34Z</dc:date>
    <item>
      <title>error with insert statement in puthiveql processor in nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-with-insert-statement-in-puthiveql-processor-in-nifi/m-p/203513#M62604</link>
      <description>&lt;P&gt;I have a data flow where I want read data from HDFS and write it to the hive table.&lt;/P&gt;&lt;P&gt;My data flow:&lt;/P&gt;&lt;P&gt;1. GetHDFS&lt;/P&gt;&lt;P&gt;2. Split text ( split the file by 1 line, as each line is valid json string)&lt;/P&gt;&lt;P&gt;3. splitjson ( to read the requird josn object, in my case its is gyrodata)&lt;/P&gt;&lt;P&gt;4.  evaluatejson ( to select the requird attributes from gyrodata json object)&lt;/P&gt;&lt;P&gt;Next step have done after following the this answer ( &lt;A href="https://community.hortonworks.com/questions/70440/nifi-puthiveql-parameterization.html" rel="nofollow noopener noreferrer" target="_blank"&gt;here)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;5.update attribute ( where i am setting the values for  "hiveql.args.N.type" and "hiveql.args.N.value") as shown below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="16171-updateattribute.png" style="width: 1006px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17271i63541700CF985A75/image-size/medium?v=v2&amp;amp;px=400" role="button" title="16171-updateattribute.png" alt="16171-updateattribute.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;6.replacetext processor to write the insert statement &lt;/P&gt;&lt;P&gt;"INSERT INTO TABLE gyroscope PARTITION(carbox_id ='Carboxtest') VALUES( ?, ?, ?, ?, ?,?, ?, ?);"&lt;/P&gt;&lt;P&gt;I tried the insert statement ending with semicolumn and without semicolumn but same error &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="16172-replacetext.png" style="width: 1004px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17272iB4E1D9B120B4C38E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="16172-replacetext.png" alt="16172-replacetext.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;7. puthiveql processor with below error ':&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="16173-error.png" style="width: 1920px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17273iDB2B46E8763CA470/image-size/medium?v=v2&amp;amp;px=400" role="button" title="16173-error.png" alt="16173-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;please find below my complete flow :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="16174-completeflow.png" style="width: 1689px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17274i55F87FB5804EA238/image-size/medium?v=v2&amp;amp;px=400" role="button" title="16174-completeflow.png" alt="16174-completeflow.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 05:11:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-with-insert-statement-in-puthiveql-processor-in-nifi/m-p/203513#M62604</guid>
      <dc:creator>shivanandk</dc:creator>
      <dc:date>2019-08-18T05:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: error with insert statement in puthiveql processor in nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-with-insert-statement-in-puthiveql-processor-in-nifi/m-p/203514#M62605</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18919/shivanandkobanna5.html" nodeid="18919"&gt;@shivanand khobanna&lt;/A&gt; - I think you accidentally asked the same question twice:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/106919/error-with-insert-statement-in-puthiveql-processor-1.html" target="_blank"&gt;https://community.hortonworks.com/questions/106919/error-with-insert-statement-in-puthiveql-processor-1.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please close this one.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 03:27:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/error-with-insert-statement-in-puthiveql-processor-in-nifi/m-p/203514#M62605</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-06-09T03:27:34Z</dc:date>
    </item>
  </channel>
</rss>

