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

Unit test for DynamicSerDe

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19.0
    • Component/s: None
    • Labels:
      None

      Description

      Unit test for the following:

      DynamicSerDe/normal TProtocol with and without thrift compatibility mode on including basic, map and list types and a list of maps or something like that
      DynamicSerDe/TCTLSeparatedProtocol (with thrift mode on even though it's not really thrift compatible) with basic, map and list types.
      DynamicSerDe getFields and getFieldsFromExpression

      Also improve general debugability of DynamicSerDe by adding toString methods and better handling unknown field names passed in.

      NOTE: at this time, not adding unit tests for nested types in dynamic serde even though this is supported. Just not a priority right now.

        Attachments

          Activity

            People

            • Assignee:
              wyckoff Pete Wyckoff
              Reporter:
              wyckoff Pete Wyckoff
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: