title: loading a subset of a file using Pig
body: <p>I am playing with hortonworks sandbox to learn hadoop etc.</p>
  
  <p>I am trying to load a file on a single machine "cluster":</p>
  
  <pre><code>A = LOAD 'googlebooks-eng-all-3gram-20090715-0.csv' using PigStorage('\t')
  AS (ngram:chararray, year:int, count1:int, count2:int, count3:int);
  B = LIMIT A 10;
  Dump B;
  </code></pre>
  
  <p>Unfortunately the file is slightly too big for the ram that I have on my VM..</p>
  
  <p>I am wondering if it's possible to <code>LOAD</code> a subset of the .<code>csv</code> file?</p>
  
  <p><strong>Is something like this possible:</strong></p>
  
  <pre><code>LOAD 'googlebooks-eng-all-3gram-20090715-0.csv' using PigStorage('\t') LOAD ONLY FIRST 100MB?
  </code></pre>