title: How to refer to the columns in pig output
body: <p>I have a data file that contains values as:</p>
  
  <pre><code>A 1
  B 2
  C 3
  C 3
  </code></pre>
  
  <p>I wrote the following pig script.</p>
  
  <pre><code>A = load 'users.txt' as (usr: int, nod: int);
  B = GROUP A BY usr;
  C = FOREACH B GENERATE group,COUNT(A);
  </code></pre>
  
  <p>Now, I want to use the output C and process it further. How can I refer to the values/columns in C? I tried DUMPing the data, but they came out as key-value pairs? Do I need to write this output to a file, load it again and process?</p>
  
  <p>Thanks,
  TM</p>