<?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: Hive external table with semicolon delimiter in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-external-table-with-semicolon-delimiter/m-p/106743#M46471</link>
    <description>According to the latest StackOverflow 
	&lt;A href="https://stackoverflow.com/questions/27573863/how-to-create-a-hive-table-to-read-semicolon-separated-values#_=_"&gt;post&lt;/A&gt;, it should be:
&lt;P&gt;
FIELDS TERMINATED BY '\u003B'
&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2017 21:39:10 GMT</pubDate>
    <dc:creator>kirill</dc:creator>
    <dc:date>2017-11-02T21:39:10Z</dc:date>
    <item>
      <title>Hive external table with semicolon delimiter</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-external-table-with-semicolon-delimiter/m-p/106739#M46467</link>
      <description>&lt;P&gt;&lt;STRONG&gt;EDIT: FIELDS TERMINATED BY '\u0059' WORKS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;
	I am trying to create an external table from a csv file with ; as delimiter. I have tried &lt;/P&gt;&lt;PRE&gt;FIELDS TERMINATED BY ';'

FIELDS TERMINATED BY '\;'

FIELDS TERMINATED BY '\\;'&lt;/PRE&gt;&lt;P&gt;Modifying the data is not an option.&lt;/P&gt;&lt;P&gt;This is the hive script:&lt;/P&gt;&lt;PRE&gt;CREATE EXTERNAL TABLE table1(
	f STRING
)
COMMENT 'table 1'
ROW FORMAT DELIMITED
FIELDS TERMINATED BY '\;'
STORED AS TEXTFILE
LOCATION '/path/to/hdfs/'
tblproperties ("skip.header.line.count"="1");&lt;/PRE&gt;&lt;P&gt;I get the following error, in all cases:&lt;/P&gt;&lt;PRE&gt;Error while compiling statement: FAILED: ParseException line 72:23 mismatched input '&amp;lt;EOF&amp;gt;' expecting StringLiteral near 'BY' in table row format's field separator [ERROR_STATUS]&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Nov 2016 20:17:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-external-table-with-semicolon-delimiter/m-p/106739#M46467</guid>
      <dc:creator>lkoppenol</dc:creator>
      <dc:date>2016-11-16T20:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hive external table with semicolon delimiter</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-external-table-with-semicolon-delimiter/m-p/106740#M46468</link>
      <description>&lt;P&gt;Nevermind: this does work &lt;/P&gt;&lt;PRE&gt;FIELDS TERMINATED BY '\u0059'&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Nov 2016 20:28:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-external-table-with-semicolon-delimiter/m-p/106740#M46468</guid>
      <dc:creator>lkoppenol</dc:creator>
      <dc:date>2016-11-16T20:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hive external table with semicolon delimiter</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-external-table-with-semicolon-delimiter/m-p/106741#M46469</link>
      <description>&lt;P&gt;Check this,&lt;/P&gt;&lt;P&gt;FIELDS TERMINATED BY ';'&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 20:40:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-external-table-with-semicolon-delimiter/m-p/106741#M46469</guid>
      <dc:creator>sangam_aruns89</dc:creator>
      <dc:date>2016-11-16T20:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hive external table with semicolon delimiter</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-external-table-with-semicolon-delimiter/m-p/106742#M46470</link>
      <description>&lt;P&gt;This is exactly what is causing the error.... Hive thinks the ; ends the statement, despite the quotes&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 20:48:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-external-table-with-semicolon-delimiter/m-p/106742#M46470</guid>
      <dc:creator>lkoppenol</dc:creator>
      <dc:date>2016-11-16T20:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hive external table with semicolon delimiter</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-external-table-with-semicolon-delimiter/m-p/106743#M46471</link>
      <description>According to the latest StackOverflow 
	&lt;A href="https://stackoverflow.com/questions/27573863/how-to-create-a-hive-table-to-read-semicolon-separated-values#_=_"&gt;post&lt;/A&gt;, it should be:
&lt;P&gt;
FIELDS TERMINATED BY '\u003B'
&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 21:39:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-external-table-with-semicolon-delimiter/m-p/106743#M46471</guid>
      <dc:creator>kirill</dc:creator>
      <dc:date>2017-11-02T21:39:10Z</dc:date>
    </item>
  </channel>
</rss>

