title: How to generate tuple in ? operator of pig
body: <p>My code is as follows </p>
  
  <pre><code>temp = foreach requiredData generate (recordType == 3 ? controllingCalledNum : callingPtyNum)as ServiceNumber, (recordType == 3 ? callingPtyNum : controllingCalledNum)as DestinationNumber;
  </code></pre>
  
  <p>Here my code is reduntant..</p>
  
  <p>Can I generate tuple inside '?' operator and do something like this which I can further FLATTERN</p>
  
  <pre><code>  temp = foreach requiredData generate (recordType == 3 ? (controllingCalledNum,callingPtyNum) : (callingPtyNum,controllingCalledNum))as (ServiceNumber,DestinationNumber);
  </code></pre>
  
  <p>I am getting error if I try to do like this
  Please help me.</p>