<?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 A problem with convert to Avro in QuaryDatabaseTable Nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/A-problem-with-convert-to-Avro-in-QuaryDatabaseTable-Nifi/m-p/319550#M227874</link>
    <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;My NIFI pipeline gets data from DB2 using QuaryDatabaseTable processor. When I launch it get exception (org.apache.nifi.processor.exception.ProcessException: Error during database query or conversation of record. I found out that the problem with some char in a table's field. I see this in the nifi log (nifi-app.log) and I see there that it falls with an exception java.nio.charset.UnmappableCharsetException: Input length = 1.&lt;BR /&gt;What I tried. I used another JDBC connection driver. I tried to set UTF8 in bootstrap.conf and nifi-env.sh (I found this tip here). It has not helped.&amp;nbsp;&lt;BR /&gt;Could you help me, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jun 2021 06:28:36 GMT</pubDate>
    <dc:creator>AndreyDM</dc:creator>
    <dc:date>2021-06-30T06:28:36Z</dc:date>
    <item>
      <title>A problem with convert to Avro in QuaryDatabaseTable Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/A-problem-with-convert-to-Avro-in-QuaryDatabaseTable-Nifi/m-p/319550#M227874</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;My NIFI pipeline gets data from DB2 using QuaryDatabaseTable processor. When I launch it get exception (org.apache.nifi.processor.exception.ProcessException: Error during database query or conversation of record. I found out that the problem with some char in a table's field. I see this in the nifi log (nifi-app.log) and I see there that it falls with an exception java.nio.charset.UnmappableCharsetException: Input length = 1.&lt;BR /&gt;What I tried. I used another JDBC connection driver. I tried to set UTF8 in bootstrap.conf and nifi-env.sh (I found this tip here). It has not helped.&amp;nbsp;&lt;BR /&gt;Could you help me, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 06:28:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/A-problem-with-convert-to-Avro-in-QuaryDatabaseTable-Nifi/m-p/319550#M227874</guid>
      <dc:creator>AndreyDM</dc:creator>
      <dc:date>2021-06-30T06:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: A problem with convert to Avro in QuaryDatabaseTable Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/A-problem-with-convert-to-Avro-in-QuaryDatabaseTable-Nifi/m-p/319648#M227913</link>
      <description>&lt;P&gt;Sorry, I forgot to specify the NiFi version. We use 1.11.4&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 11:29:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/A-problem-with-convert-to-Avro-in-QuaryDatabaseTable-Nifi/m-p/319648#M227913</guid>
      <dc:creator>AndreyDM</dc:creator>
      <dc:date>2021-07-01T11:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: A problem with convert to Avro in QuaryDatabaseTable Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/A-problem-with-convert-to-Avro-in-QuaryDatabaseTable-Nifi/m-p/319865#M228002</link>
      <description>&lt;P&gt;Seems like db2 is using some data type which is not recognizable to Avro. You can try to Disable Avro logical types to false in QueryDatabaseTable and then parse the data correctly within the flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you find the answer helpful please accept this as a solution.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 12:14:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/A-problem-with-convert-to-Avro-in-QuaryDatabaseTable-Nifi/m-p/319865#M228002</guid>
      <dc:creator>SagarKanani</dc:creator>
      <dc:date>2021-07-05T12:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: A problem with convert to Avro in QuaryDatabaseTable Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/A-problem-with-convert-to-Avro-in-QuaryDatabaseTable-Nifi/m-p/319931#M228040</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;BR /&gt;Yes, sure I tried this option. I know exactly which field is causing the problem. I even know the symbol. The field has char type. I tried to apply UTF-8, but it didn't help&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 09:22:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/A-problem-with-convert-to-Avro-in-QuaryDatabaseTable-Nifi/m-p/319931#M228040</guid>
      <dc:creator>AndreyDM</dc:creator>
      <dc:date>2021-07-06T09:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: A problem with convert to Avro in QuaryDatabaseTable Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/A-problem-with-convert-to-Avro-in-QuaryDatabaseTable-Nifi/m-p/320890#M228209</link>
      <description>&lt;P&gt;Is it possible to show what the character is exactly? With logical type string it should accept any character as long as is it not a invalid or garbage value....&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 07:36:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/A-problem-with-convert-to-Avro-in-QuaryDatabaseTable-Nifi/m-p/320890#M228209</guid>
      <dc:creator>SagarKanani</dc:creator>
      <dc:date>2021-07-14T07:36:18Z</dc:date>
    </item>
  </channel>
</rss>

