AbsaOSS / AbsaOSS/cobrix

Date and Timestamp

Đang mở
#758 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Scala
Star
170
Fork
96
Merge trung bình
57 phút
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.