AbsaOSS / AbsaOSS/cobrix

Date and Timestamp

未關閉
#758 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Scala
星號
170
分支
96
平均合併
57 分鐘
30 天內合併 PR
2

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。