[ https://issues.apache.org/jira/browse/PIG-5197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949920#comment-15949920 ]
Rohini Palaniswamy commented on PIG-5197: ----------------------------------------- Why not make PigNullableWritable implement Serializable? > Replace IndexedKey with PigNullableWritable in spark branch > ----------------------------------------------------------- > > Key: PIG-5197 > URL: https://issues.apache.org/jira/browse/PIG-5197 > Project: Pig > Issue Type: Sub-task > Components: spark > Reporter: liyunzhang_intel > Fix For: spark-branch > > > The function of IndexedKey and PigNullableWritable is similar. > The difference between these two is IndexedKey contains Index,key while > PigNullableWritable contains index,key,value. > Besides,the comparators for PigNullableWritable have lot of conditions for > the different data types taken care of and IndexedKey can miss some of that. > We can try to replace IndexedKey with PigNullableWritable. -- This message was sent by Atlassian JIRA (v6.3.15#6346)