AbsaOSS / AbsaOSS/cobrix

Date and Timestamp

Ouverte
#758 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Scala
Étoiles
170
Forks
96
Merge moyen
57 min
PR mergées (30 j)
2

Description

## Background
We have DB2 tables where fields are declared as Date and Timestamp. When files are downloaded, the Copybook defines these fields as alphanumeric:
Date: X(10)
Timestamp: X(26)

When these files are moved to a distributed environment and read through Cobrix, the fields are treated as String, as the Cobol Copybook defines them as alphanumeric.

## Feature
For these date fields, can we modify the Copybook definition to something other than X(10) or X(26) , in order to explicitly indicate that they represent Date and Timestamp fields? This change would allow Cobrix to correctly interpret them as Date and Timestamp data types when creating the DataFrame.

## Example [Optional]
A simple example if applicable.

## Proposed Solution [Optional]
Solution Ideas
1.
2.
3.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.