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

CSVParser doesn't accept nullable fields and fails with a bad error message

    XMLWordPrintableJSON

    Details

    • Release Notes:
      CSVParser now supports accepting a nullable string as a field to parse. If the field is null, all other fields are propagated and those that would otherwise be parsed by the CSV parser are set to null.
    • Rank:
      1|hzzd1r:

      Description

      When the field used in the csvparser is nullable, the pipeline deploy fails with the following error:

      05/11/16 8:21:07 pm: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Exception while configuring plugin of type transform and name CSVParser for stage Parse CSV Row: Type for field  body must be String
      

        Attachments

          Activity

            People

            • Assignee:
              kashif Kashif Nazir
              Reporter:
              russellsavage Russ Savage
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: