<?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: nifi convertavrotoorc decimal datatype issue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/nifi-convertavrotoorc-decimal-datatype-issue/m-p/224560#M186424</link>
    <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/11732/saikrishnatarapareddy.html" nodeid="11732"&gt;@Saikrishna Tarapareddy&lt;/A&gt;. I converted upstream decimal to string to get it correctly in incremental ACID mode into hive table.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jun 2018 05:07:56 GMT</pubDate>
    <dc:creator>hskundhal</dc:creator>
    <dc:date>2018-06-20T05:07:56Z</dc:date>
    <item>
      <title>nifi convertavrotoorc decimal datatype issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-convertavrotoorc-decimal-datatype-issue/m-p/224556#M186420</link>
      <description>&lt;P&gt;Hi, I am using nifi to load data to hive from sqlserver. I am using convertavrotoOrc to load data in orc format via puthdfs and puthiveql. Sqlserver datatypes of decimal are converted into binary datatype by processor and data is not readable. How I can correct this.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 23:01:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-convertavrotoorc-decimal-datatype-issue/m-p/224556#M186420</guid>
      <dc:creator>hskundhal</dc:creator>
      <dc:date>2018-06-19T23:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: nifi convertavrotoorc decimal datatype issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-convertavrotoorc-decimal-datatype-issue/m-p/224557#M186421</link>
      <description>&lt;P&gt;ConvertAvroToORC is in the Hive bundle which uses Avro 1.7.7, which does not support logical types such as decimal. This is discussed in &lt;A href="https://issues.apache.org/jira/browse/NIFI-5079" target="_blank"&gt;NIFI-5079&lt;/A&gt;, where it was decided to add support via a PutORC processor in the upcoming Hive 3 bundle (slated for NiFi 1.7.0 and HDF 3.2).&lt;/P&gt;&lt;P&gt;If you are using a version of NiFi prior to 1.6.0, then upgrading may help solve the original conversion issue when fetching from SQLServer (via &lt;A href="https://issues.apache.org/jira/browse/NIFI-4846" target="_blank"&gt;NIFI-4846&lt;/A&gt;). However if you're converting to ORC you will still run into the issue above. A workaround might be to store the Avro directly to HDFS and put the Hive table atop the Avro data vs ORC data.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 23:47:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-convertavrotoorc-decimal-datatype-issue/m-p/224557#M186421</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2018-06-19T23:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: nifi convertavrotoorc decimal datatype issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-convertavrotoorc-decimal-datatype-issue/m-p/224558#M186422</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;if we follow your approach , we can then use INSERT INTO SELECT to load from Avro table to ORC table.? reason being in some cases like ACID in Hive only works in ORC format.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 00:04:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-convertavrotoorc-decimal-datatype-issue/m-p/224558#M186422</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2018-06-20T00:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: nifi convertavrotoorc decimal datatype issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-convertavrotoorc-decimal-datatype-issue/m-p/224559#M186423</link>
      <description>&lt;P&gt;Yes I think that will work. Also if you convert from decimal to a different type then you should be able to use PutHiveStreaming, although that isn't always as performant as it could be. In the upcoming Hive 3 bundle, there is a new Streaming API and PutHive3Streaming should be much faster (and Avro logical types are supported).&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 01:17:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-convertavrotoorc-decimal-datatype-issue/m-p/224559#M186423</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2018-06-20T01:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: nifi convertavrotoorc decimal datatype issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-convertavrotoorc-decimal-datatype-issue/m-p/224560#M186424</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/11732/saikrishnatarapareddy.html" nodeid="11732"&gt;@Saikrishna Tarapareddy&lt;/A&gt;. I converted upstream decimal to string to get it correctly in incremental ACID mode into hive table.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 05:07:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-convertavrotoorc-decimal-datatype-issue/m-p/224560#M186424</guid>
      <dc:creator>hskundhal</dc:creator>
      <dc:date>2018-06-20T05:07:56Z</dc:date>
    </item>
  </channel>
</rss>

