<?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: How to load ESCAPE delimited data into Hive in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-load-ESCAPE-delimited-data-into-Hive/m-p/151123#M28561</link>
    <description>&lt;P&gt;The ASCII "escape" character (&lt;A href="https://en.wikipedia.org/wiki/Octal"&gt;octal&lt;/A&gt;: \033, &lt;A href="https://en.wikipedia.org/wiki/Hexadecimal"&gt;hexadecimal&lt;/A&gt;: \x1B, or &lt;B&gt;^[&lt;/B&gt;, or, in decimal, 27) is used in many output devices to start a series of characters called a control sequence or escape sequence.&lt;/P&gt;&lt;P&gt;Besides that how about replacing the escape character with something more familiar like ',' and then load into hive?  this can be done with pig or simple sed command.&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2016 10:34:05 GMT</pubDate>
    <dc:creator>sunile_manjee</dc:creator>
    <dc:date>2016-05-17T10:34:05Z</dc:date>
    <item>
      <title>How to load ESCAPE delimited data into Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-load-ESCAPE-delimited-data-into-Hive/m-p/151122#M28560</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to load Netezza exported data file into Hive.&lt;/P&gt;&lt;P&gt;The data field is delimited by ESCAPE. I tried the below but it didn't work.&lt;/P&gt;&lt;P&gt;create external table foo ( bar strign ) row format delimited fields terminated by '\01B' stored as textfile.&lt;/P&gt;&lt;P&gt;How can I load ESCAPE delimited data into Hive?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 10:29:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-load-ESCAPE-delimited-data-into-Hive/m-p/151122#M28560</guid>
      <dc:creator>yjiang</dc:creator>
      <dc:date>2016-05-17T10:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to load ESCAPE delimited data into Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-load-ESCAPE-delimited-data-into-Hive/m-p/151123#M28561</link>
      <description>&lt;P&gt;The ASCII "escape" character (&lt;A href="https://en.wikipedia.org/wiki/Octal"&gt;octal&lt;/A&gt;: \033, &lt;A href="https://en.wikipedia.org/wiki/Hexadecimal"&gt;hexadecimal&lt;/A&gt;: \x1B, or &lt;B&gt;^[&lt;/B&gt;, or, in decimal, 27) is used in many output devices to start a series of characters called a control sequence or escape sequence.&lt;/P&gt;&lt;P&gt;Besides that how about replacing the escape character with something more familiar like ',' and then load into hive?  this can be done with pig or simple sed command.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 10:34:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-load-ESCAPE-delimited-data-into-Hive/m-p/151123#M28561</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-05-17T10:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to load ESCAPE delimited data into Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-load-ESCAPE-delimited-data-into-Hive/m-p/151124#M28562</link>
      <description>&lt;P&gt;The data size is pretty big. It would be ideal to load into Hive directly and convert to ORC.&lt;/P&gt;&lt;P&gt;I will try using Pig to convert ESCAPE to something else.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 10:37:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-load-ESCAPE-delimited-data-into-Hive/m-p/151124#M28562</guid>
      <dc:creator>yjiang</dc:creator>
      <dc:date>2016-05-17T10:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to load ESCAPE delimited data into Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-load-ESCAPE-delimited-data-into-Hive/m-p/151125#M28563</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/274/yjiang.html" nodeid="274"&gt;@yjiang&lt;/A&gt;&lt;P&gt;try the octal repesentation either \073 or \033&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 10:43:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-load-ESCAPE-delimited-data-into-Hive/m-p/151125#M28563</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-05-17T10:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to load ESCAPE delimited data into Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-load-ESCAPE-delimited-data-into-Hive/m-p/151126#M28564</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I wrote a simple Pig script to convert the 'escape' character to '\t' and it worked.&lt;/P&gt;&lt;PRE&gt;raw = load '/tmp/mydata' using PigStorage('\x1B')

store raw into '/tmp/output' using PigStorage('\t')&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 May 2016 22:44:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-load-ESCAPE-delimited-data-into-Hive/m-p/151126#M28564</guid>
      <dc:creator>yjiang</dc:creator>
      <dc:date>2016-05-17T22:44:09Z</dc:date>
    </item>
  </channel>
</rss>

