<?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 Parquet schema error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Parquet-schema-error/m-p/320902#M228216</link>
    <description>&lt;P&gt;I had a table that it vanished after an issue. I created again the table and then recover the partitions in order to read again the files that were in hdfs hive direcotry. Although all of a sudden now, it throws me the below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File 'path/data.0.parq' has an incompatible Parquet schema for column 'db.table.parameter_11'. Column type: STRING, Parquet schema: optional int64 amount [i:10 d:1 r:0]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jul 2021 11:56:10 GMT</pubDate>
    <dc:creator>drgenious</dc:creator>
    <dc:date>2021-07-14T11:56:10Z</dc:date>
    <item>
      <title>Parquet schema error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Parquet-schema-error/m-p/320902#M228216</link>
      <description>&lt;P&gt;I had a table that it vanished after an issue. I created again the table and then recover the partitions in order to read again the files that were in hdfs hive direcotry. Although all of a sudden now, it throws me the below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File 'path/data.0.parq' has an incompatible Parquet schema for column 'db.table.parameter_11'. Column type: STRING, Parquet schema: optional int64 amount [i:10 d:1 r:0]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 11:56:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Parquet-schema-error/m-p/320902#M228216</guid>
      <dc:creator>drgenious</dc:creator>
      <dc:date>2021-07-14T11:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Parquet schema error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Parquet-schema-error/m-p/323030#M228998</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you use beeline and type the below command then recreate the table :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;set parquet.column.index.access=false;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;this should make hive not use the index of your create table statement to map the data in your files, but instead it will use the columns names .&lt;/P&gt;&lt;P&gt;hope this works for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 23:07:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Parquet-schema-error/m-p/323030#M228998</guid>
      <dc:creator>tarekabouzeid91</dc:creator>
      <dc:date>2021-08-23T23:07:14Z</dc:date>
    </item>
  </channel>
</rss>

