AbsaOSS / AbsaOSS/cobrix

Date and Timestamp

Offen
#758 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Scala
Sterne
170
Forks
96
Ø Merge
57 Min.
Gemergte PRs (30 T.)
2

Beschreibung

## 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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.