You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2017/06/12 09:51:00 UTC
[jira] [Created] (PIG-5258) Bytecode generation for LoadFunc and
StoreFunc
Rohini Palaniswamy created PIG-5258:
---------------------------------------
Summary: Bytecode generation for LoadFunc and StoreFunc
Key: PIG-5258
URL: https://issues.apache.org/jira/browse/PIG-5258
Project: Pig
Issue Type: Sub-task
Reporter: Rohini Palaniswamy
Assignee: Rohini Palaniswamy
Fix For: 0.18.0
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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)