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

Date transform should not error out if the input and output field types for converted fields is different

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 4.1.1
    • Component/s: Pipeline Plugins, Pipelines
    • Labels:
    • Rank:
      1|hzzxlj:

      Description

      Date transform doesn't allow the converted field to be stored with a same name but a different type.
      The following example is not possible:
      Input schema

      {id string, updatetime long}

      Output schema

      {id string, updatetime string}

      On deploying the pipeline we get an error saying the input schema and output schema for updatime is different. This is however the most common usecase.

        Attachments

          Activity

            People

            • Assignee:
              sree Sreevatsan Raman
              Reporter:
              sree Sreevatsan Raman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: