Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3764 Compile physical operators to bytecode
  3. PIG-5258

Bytecode generation for LoadFunc and StoreFunc

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 0.18.0
    • impl
    • None

    Description

      When schema is provided, one can avoid the loop and switch case statements to typecast the fields. This is kind of tricky to do with minimal code change as code replacement needs to be done in different places for different LoadFunc/StoreFuncs. For eg: In case of PigStorage, the change is required in getNext() method. In case of piggybank AvroStorage, change is required in PigAvroDatumReader and PigAvroDatumWriter classes.

      Attachments

        Activity

          People

            rohini Rohini Palaniswamy
            rohini Rohini Palaniswamy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: