Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1225

Record IO class should provide a toString(String charset) method

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: record
    • Labels:
      None

      Description

      Currently, the toString() function returns the csv format serialized form of the record object.
      Unfortunately, all the fields of Buffer type are serialized into hex string. Although this is a loss less conversion, it is not
      the most convenient form, when perople use Buffer to store international texts. With
      a new function toString(String charset) , the user can pass a charset to indicate the desired way to convert a Buffer to a String.

        Attachments

          Activity

            People

            • Assignee:
              sameerp Sameer Paranjpye
              Reporter:
              runping Runping Qi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: