<?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 How to Skip header row using Pig in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Skip-header-row-using-Pig/m-p/230144#M61117</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have requirement where I need to skip the file header on each load using pig.&lt;/P&gt;&lt;P&gt;Is there any way to skip the header row while processing? apart from using RANK?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Satish.&lt;/P&gt;</description>
    <pubDate>Sun, 14 May 2017 06:00:52 GMT</pubDate>
    <dc:creator>SatishS</dc:creator>
    <dc:date>2017-05-14T06:00:52Z</dc:date>
    <item>
      <title>How to Skip header row using Pig</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Skip-header-row-using-Pig/m-p/230144#M61117</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have requirement where I need to skip the file header on each load using pig.&lt;/P&gt;&lt;P&gt;Is there any way to skip the header row while processing? apart from using RANK?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Satish.&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2017 06:00:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Skip-header-row-using-Pig/m-p/230144#M61117</guid>
      <dc:creator>SatishS</dc:creator>
      <dc:date>2017-05-14T06:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Skip header row using Pig</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Skip-header-row-using-Pig/m-p/230145#M61118</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1373/satish-sarapuri.html" nodeid="1373"&gt;@Satish S&lt;/A&gt;&lt;P&gt;What's the file type? If its CSV, you can use CSVExcelStorage. Otherwise, the following should work.&lt;/P&gt;&lt;P&gt;A = LOAD 'file_name' as (line:chararray);&lt;/P&gt;&lt;P&gt;B = FILTER A by $0&amp;gt;1;&lt;/P&gt;&lt;P&gt;See the following link for more options on this.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/74738/pig-error-error-orgapachepigtoolsgruntgrunt-error.html#comment-74749" target="_blank"&gt;https://community.hortonworks.com/questions/74738/pig-error-error-orgapachepigtoolsgruntgrunt-error.html#comment-74749&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2017 09:17:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Skip-header-row-using-Pig/m-p/230145#M61118</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2017-05-14T09:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Skip header row using Pig</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Skip-header-row-using-Pig/m-p/230146#M61119</link>
      <description>&lt;P&gt;Thanks for these alernative methods to achive the result. &lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2017 20:12:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Skip-header-row-using-Pig/m-p/230146#M61119</guid>
      <dc:creator>SatishS</dc:creator>
      <dc:date>2017-05-14T20:12:33Z</dc:date>
    </item>
  </channel>
</rss>

