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 AlanGates:
http://wiki.apache.org/pig/TrunkToTypesChanges

------------------------------------------------------------------------------
  1. public class TOLOWERCASE extends EvalFunc<String>
  2. {
  3.   public String exec(Tuple input) throws IOException {
- 4.        if (input `= null |||| input.size() =` 0)
+ 4.        if (input `= null || input.size() =` 0)
  5.            return null;
  6.        String str;
  7.        try {
@@ -980, +980 @@

  public class MyUDF extends EvalFunc<String>
  {
       public String exec(Tuple input) throws IOException {
-         if (input `= null |||| input.size() =` 0)
+         if (input `= null || input.size() =` 0)
              return null;
          // do some processing
          reporter.progress();
@@ -1006, +1006 @@

  1. public class PigStorage extends Utf8StorageConverter implements 
ReversibleLoadStoreFunc {
          ... 
  2. public Tuple getNext() throws IOException {
- 3.     if (in == null |||| in.getPosition() > end) {
+ 3.     if (in == null || in.getPosition() > end) {
  4.          return null;
  5.     }
  6.     if (mBuf == null) mBuf = new ByteArrayOutputStream(4096);

Reply via email to