Dear Wiki user,

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

The "LoadStoreMigrationGuide" page has been changed by PradeepKamath.
http://wiki.apache.org/pig/LoadStoreMigrationGuide?action=diff&rev1=3&rev2=4

--------------------------------------------------

              DataStorage storage) throws IOException {
          return null;
      }
+         
- 
-     public void fieldsToRead(Schema schema) {
-         // do nothing
-     }
-     
      public RequiredFieldResponse fieldsToRead(RequiredFieldList 
requiredFieldList)
      throws FrontendException {
          // indicate to pig that this loader will return all fields and not 
just
@@ -127, +123 @@

          return new RequiredFieldResponse(false);
      }
   }
- 
  }}}
  == New Implementation ==
  {{{
- public class PigStorage extends LoadFunc {
+ public class SimpleTextLoader extends LoadFunc {
      protected RecordReader in = null;               
      private byte fieldDel = '\t';
      private ArrayList<Object> mProtoTuple = null;

Reply via email to