[zebra] Encapsulation of check of ZebraSortInfo by a Zebra reader; the check by 
a writer could be better encapsulated
---------------------------------------------------------------------------------------------------------------------

                 Key: PIG-1139
                 URL: https://issues.apache.org/jira/browse/PIG-1139
             Project: Pig
          Issue Type: Improvement
    Affects Versions: 0.6.0
            Reporter: Yan Zhou
            Priority: Minor
             Fix For: 0.7.0


Currently the user's ZebraSortInfo by Map/Reduce's writer, namely, the 
BasicTableOutputFormat.setStorageInfo, is sanity checked by the 
SortInfo.parse(), although the sanity check could be all performed in that 
method taking a ZebraSortInfo object.

But the sanity check at the reader side is totally by the caller of 
TableInputFormat.requireSortedTable method, which should be better encapsulated 
into a new SortInfo's method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to