pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Pig Wiki] Trivial Update of "PigFaq" by DavidPhillips
Date Tue, 16 Sep 2008 21:22:16 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification.

The following page has been changed by DavidPhillips:
http://wiki.apache.org/pig/PigFaq

The comment on the change is:
turn #7 into a question

------------------------------------------------------------------------------
  
  Pig does support regular expression matching via `matches` keyword. It uses java.util.regexp
matches which means your pattern has to match the entire string (ie if your string is "hi
fred" and you want to find "fred" you have to give a pattern of ".*fred" not "fred").
  
- '''7. How to prevent failure if some records don't have the needed number of columns.'''
+ '''7. How do I prevent failure if some records don't have the needed number of columns?'''
  
  You can filter away those records by including the following in your Pig program:
  

Mime
View raw message