Skip to content

data in string format apart from native target datatype format #545

@saikumare-a

Description

@saikumare-a

Background

cobrix converts the data to native type ( decimal, integer etc.,) based on the copybook information.

Feature

having an option of just dividing the record to columns and having them in string format(as it is , without any trimming) instead of converting to native type would be helpful and provide the below benefits

  1. if there is discrepancy between data and copybook , having all columns in string type would help in debugging issues
  2. can be helpful to do Data Quality by downstream applications and reports issues (currently invalid data becomes null by spark)

Example [Optional]

A simple example if applicable.

Proposed Solution [Optional]

Solution Ideas

  1. one approach could be handling this using option("debug","original")

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedAccepted for implementationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions