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

------------------------------------------------------------------------------
  public class UPPER extends EvalFunc<String>
  {
      public String exec(Tuple input) throws IOException {
-         if (input `= null || input.size() =` 0)
+         if (input == null || input.size() == 0)
              return null;
          try{
              String str = (String)input.get(0);
@@ -197, +197 @@

  
  public class IsEmpty extends FilterFunc {
      public Boolean exec(Tuple input) throws IOException {
-         if (input `= null || input.size() =` 0)
+         if (input == null || input.size() == 0)
              return null;
          try {
              Object values = input.get(0);
@@ -448, +448 @@

  
  public class ABS extends EvalFunc<Double>{
      public Double exec(Tuple input) throws IOException {
-         if (input `= null || input.size() =` 0)
+         if (input == null || input.size() == 0)
              return null;
          Double d;
          try{
@@ -483, +483 @@

  
  public class IntAbs extends EvalFunc<Integer>{
      public Integer exec(Tuple input) throws IOException {
-         if (input `= null || input.size() =` 0)
+         if (input == null || input.size() == 0)
              return null;
          Integer d;
          try{
@@ -546, +546 @@

  public class UPPER extends EvalFunc<String>
  {
      public String exec(Tuple input) throws IOException {
-         if (input `= null || input.size() =` 0)
+         if (input == null || input.size() == 0)
              return null;
          try{
              String str = (String)input.get(0);
@@ -587, +587 @@

  public class UPPER extends EvalFunc<String>
  {
          public String exec(Tuple input) throws IOException {
-                 if (input `= null || input.size() =` 0)
+                 if (input == null || input.size() == 0)
                  return null;
                  try{
                          reporter.progress();

Reply via email to