<?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: putSql exception in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/putSql-exception/m-p/284786#M211432</link>
    <description>&lt;P&gt;thanks, i forgot simple quote .. i'm stupid&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2019 15:20:49 GMT</pubDate>
    <dc:creator>badman</dc:creator>
    <dc:date>2019-12-04T15:20:49Z</dc:date>
    <item>
      <title>putSql exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/putSql-exception/m-p/284754#M211413</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I tried to insert some data in postgresql db using PUTSQL processor.&lt;/P&gt;
&lt;P&gt;Below example of sql statement in putSql properties:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;INSERT INTO myTable(date_response, success, code, payload_response) values ('${now()}', '${status:toNumber()}', '${code:toNumber()}', ${payload});&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The problem is when this insert is executed, i have this error:&lt;/P&gt;
&lt;P&gt;org.postgresql.util.PSQLException: ERROR: column "zxlbavuzvmlvm2x6vedsemrdstzjrnnnzxlbavuzvmlvm2x6swpvz2v5qwlhv1f" does not exist.&lt;/P&gt;
&lt;P&gt;What happen ? .... the payload_response column name is replace by the value of my flow file attribute ${payload}. Why ? any hints ?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 12:02:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/putSql-exception/m-p/284754#M211413</guid>
      <dc:creator>badman</dc:creator>
      <dc:date>2019-12-04T12:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: putSql exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/putSql-exception/m-p/284783#M211429</link>
      <description>&lt;P&gt;I'm on mobile but could it be that you are not wrapping it around the single quotes?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 15:02:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/putSql-exception/m-p/284783#M211429</guid>
      <dc:creator>DigitalPlumber</dc:creator>
      <dc:date>2019-12-04T15:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: putSql exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/putSql-exception/m-p/284786#M211432</link>
      <description>&lt;P&gt;thanks, i forgot simple quote .. i'm stupid&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 15:20:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/putSql-exception/m-p/284786#M211432</guid>
      <dc:creator>badman</dc:creator>
      <dc:date>2019-12-04T15:20:49Z</dc:date>
    </item>
  </channel>
</rss>

