Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-946

Augment FieldValueMetaData so it differentiates 'string' and 'binary' fields.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7
    • 0.6
    • None
    • Patch Available

    Description

      String fields are not differentiated from binary fields in the meta data map. This is sometimes problematic when manipulating Thrift structs in tools such as Pig.

      The included patch extends FieldValueMetaData with 'isBinary' field and method and modifies the java compiler so generated code correctly reflects the binary nature of fields in the meta data.

      Attachments

        1. THRIFT-946.patch
          2 kB
          Mathias Herberts
        2. THRIFT-946.patch-2
          2 kB
          Mathias Herberts
        3. THRIFT-946.patch-3
          4 kB
          Mathias Herberts

        Activity

          People

            herberts Mathias Herberts
            herberts Mathias Herberts
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: