<?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: invalid type length for Decimal fields when Impala query on Parquet stored Hive Table in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/invalid-type-length-for-Decimal-fields-when-Impala-query-on/m-p/289719#M214419</link>
    <description>&lt;P&gt;Hi Iwang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response. I tried with&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;TBLPROPERTIES ('OBJCAPABILITIES'='EXTREAD,EXTWRITE&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;hive table properties for creating table.&lt;/P&gt;&lt;P&gt;But, as Yongzhi&amp;nbsp; stated that it is not solution &lt;SPAN&gt;for the fixed-length type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My hive table creation script is;&lt;/P&gt;&lt;P&gt;CREATE TABLE ods.kds_limit_log(ONERILENLIMITADI STRING,PROPOSEDCOLLATERALTYPE STRING,ONERILENMAXVADE STRING,ONERILENDOVIZ STRING,KDSREFORDER DECIMAL(3,0),LASTUPDATED DECIMAL(15,0),ONERILENMORTGAGELIMITTUTARI DECIMAL(25,2),OID DECIMAL(16,0),ONERILENKGFLIMITTUTARI DECIMAL(25,2),MEVCUTMAXVADE STRING,STATUS DECIMAL(1,0),MEVCUTLIMITTUTARI DECIMAL(25,2),ENTERANCEDATE DECIMAL(8,0),ONERILENLIMITTUTARI DECIMAL(25,2),MEVCUTDOVIZ STRING,MEVCUTRISKTUTARI DECIMAL(25,2),ONERILENLIMITREFERANS STRING,ENTERANCETIME DECIMAL(6,0),MEVCUTLIMITADI STRING,EXISTINGCOLLATERALTYPE STRING,ONERILENEASILIMITTUTARI DECIMAL(25,2),KDSREFNO STRING,MEVCUTLIMITREFERANS STRING) STORED AS PARQUET LOCATION '/data/ods.db/kds_limit_log/' TBLPROPERTIES ('OBJCAPABILITIES'='EXTREAD,EXTWRITE')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parquet file schema;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.JPG" style="width: 825px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26365i5F0E8783CB88C051/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.JPG" alt="Capture4.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It can be run with Hive, but not with Impala&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.JPG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26366i50E6F5E368615CA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.JPG" alt="Capture3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Onur&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2020 12:53:41 GMT</pubDate>
    <dc:creator>Onur</dc:creator>
    <dc:date>2020-02-13T12:53:41Z</dc:date>
  </channel>
</rss>

