Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-9927

MockSink can't handle primitive arrays

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Pipelines
    • Labels:
      None
    • Release Notes:
      Fixed a serialization bug with StructuredRecords that use primitive arrays.
    • Rank:
      1|hzzntr:

      Description

      If you try to write a StructuredRecord that contains a primitive array (like a double[]), the sink will die with an exception from the StructuredRecordToStringConverter class, when it tries to cast the value to (Object[]).

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              ashau Albert Shau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: