title: Pig Help: Splitting a Field into Multiple Fields
body: <p>Hi I am playing around with Pig for the first time and am curious how to deal with splitting up a field into multiple other fields.</p>
  
  <p>I have a bag, A, like the one below:</p>
  
  <pre><code>grunt&gt; Dump A; 
  
  (text, text, Mon Mar 07 12:00:00 CDT 2016)
  </code></pre>
  
  <p>What I'd like to do is split the Date-Time field into multiple fields so that I can explore the distribution of the data set and do group bys on the Day of Week, Month, Year, etc.</p>
  
  <p>I have been looking at tokenize but am unsure this meets my needs as I need/want to have field names added to the bag or create a nested bag.</p>
  
  <p>Any ideas?</p>