<?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: Error on Creating External Table from CSV in Impala after latest CDP Update in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-on-Creating-External-Table-from-CSV-in-Impala-after/m-p/349599#M235701</link>
    <description>&lt;P&gt;The issue is resolved by adding&amp;nbsp;Stored as textfile in the table creation query.&lt;/P&gt;&lt;P&gt;CREATE External TABLE GeoIP2_ISP_Blocks_IPv4 (&lt;BR /&gt;Client string,&lt;BR /&gt;ID int,&lt;BR /&gt;Number int,&lt;BR /&gt;Name string,&lt;BR /&gt;)&lt;BR /&gt;ROW FORMAT DELIMITED FIELDS TERMINATED BY ','&lt;/P&gt;&lt;P&gt;Stored as textfile&amp;nbsp; &amp;nbsp; &amp;lt;---------------------- this new line needs to be added&lt;BR /&gt;WITH SERDEPROPERTIES (&lt;BR /&gt;"separatorChar" = "\,",&lt;BR /&gt;"quoteChar" = "\""&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;LOCATION 'hdfs:///user/hive/warehouse/tips/'&lt;BR /&gt;tblproperties ("skip.header.line.count"="1");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cloudera has changed the default file format from txt to parquet. So we need to specify this line for text files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt;&amp;nbsp; for the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Aug 2022 07:43:22 GMT</pubDate>
    <dc:creator>Neel_Sharma</dc:creator>
    <dc:date>2022-08-05T07:43:22Z</dc:date>
    <item>
      <title>Error on Creating External Table from CSV in Impala after latest CDP Update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-on-Creating-External-Table-from-CSV-in-Impala-after/m-p/349265#M235581</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting error when I am querying my table in impala editor.&lt;/P&gt;&lt;P&gt;The simple query:&lt;/P&gt;&lt;P&gt;select * from table GeoIP2_ISP_Blocks_IPv4;&lt;/P&gt;&lt;P&gt;The error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Neel_Sharma_1-1659357815162.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35086iAA0934EB8BAADD44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Neel_Sharma_1-1659357815162.png" alt="Neel_Sharma_1-1659357815162.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The table creation query is give below:&lt;/P&gt;&lt;P&gt;CREATE External TABLE GeoIP2_ISP_Blocks_IPv4 (&lt;BR /&gt;Client string,&lt;BR /&gt;ID int,&lt;BR /&gt;Number int,&lt;BR /&gt;Name string,&lt;BR /&gt;)&lt;BR /&gt;ROW FORMAT DELIMITED FIELDS TERMINATED BY ','&lt;BR /&gt;WITH SERDEPROPERTIES (&lt;BR /&gt;"separatorChar" = "\,",&lt;BR /&gt;"quoteChar" = "\""&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;LOCATION 'hdfs:///user/hive/warehouse/tips/'&lt;BR /&gt;tblproperties ("skip.header.line.count"="1");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same error is coming when I am creating external tables from tab delimited files. All this is happening after latest CDP Update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please someone help me it would be really helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 07:51:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-on-Creating-External-Table-from-CSV-in-Impala-after/m-p/349265#M235581</guid>
      <dc:creator>Neel_Sharma</dc:creator>
      <dc:date>2026-04-21T07:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Creating External Table from CSV in Impala after latest CDP Update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-on-Creating-External-Table-from-CSV-in-Impala-after/m-p/349328#M235618</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99546"&gt;@Neel_Sharma&lt;/a&gt;&amp;nbsp;, The message suggests that the query tried to read the table's datafiles as if the table was parquet file based. (and parquet might be the default table format in Hive in CDP - of course only if the table format is not specified during creation)&lt;BR /&gt;However the table creation script you've shared suggests the table should be text (CSV) based.&lt;/P&gt;&lt;P&gt;Can you please verify it with checking what is the table format, with:&lt;BR /&gt;DESCRIBE FORMATTED&amp;nbsp;GeoIP2_ISP_Blocks_IPv4;&lt;/P&gt;&lt;P&gt;Are you in the right database?&lt;/P&gt;&lt;P&gt;For the second issue - how do you create the&amp;nbsp;&lt;SPAN&gt;external tables from tab delimited files? How are the files uploaded to hdfs?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Miklos&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 08:16:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-on-Creating-External-Table-from-CSV-in-Impala-after/m-p/349328#M235618</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2022-08-02T08:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Creating External Table from CSV in Impala after latest CDP Update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-on-Creating-External-Table-from-CSV-in-Impala-after/m-p/349599#M235701</link>
      <description>&lt;P&gt;The issue is resolved by adding&amp;nbsp;Stored as textfile in the table creation query.&lt;/P&gt;&lt;P&gt;CREATE External TABLE GeoIP2_ISP_Blocks_IPv4 (&lt;BR /&gt;Client string,&lt;BR /&gt;ID int,&lt;BR /&gt;Number int,&lt;BR /&gt;Name string,&lt;BR /&gt;)&lt;BR /&gt;ROW FORMAT DELIMITED FIELDS TERMINATED BY ','&lt;/P&gt;&lt;P&gt;Stored as textfile&amp;nbsp; &amp;nbsp; &amp;lt;---------------------- this new line needs to be added&lt;BR /&gt;WITH SERDEPROPERTIES (&lt;BR /&gt;"separatorChar" = "\,",&lt;BR /&gt;"quoteChar" = "\""&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;LOCATION 'hdfs:///user/hive/warehouse/tips/'&lt;BR /&gt;tblproperties ("skip.header.line.count"="1");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cloudera has changed the default file format from txt to parquet. So we need to specify this line for text files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt;&amp;nbsp; for the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 07:43:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-on-Creating-External-Table-from-CSV-in-Impala-after/m-p/349599#M235701</guid>
      <dc:creator>Neel_Sharma</dc:creator>
      <dc:date>2022-08-05T07:43:22Z</dc:date>
    </item>
  </channel>
</rss>

