alibaba / alibaba/DataX

datax处理TimeStamp类型存在的疑问

Open
#2,212 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

reader:oceanbasev10reader
字段类型:Timestamp(6)
数据1:"2024-09-15 17:50:33.448"
数据2:"2024-09-15 17:50:33.0"

writer:hdfswriter
字段类型:String
数据1:"2024-09-15 17:50:33.448000"
数据2:"2024-09-15 17:50:33"

时间类型数据在通过datax读取写出之后精度发生了变化,毫秒级变成了微秒级,毫秒值为0的变成了秒级,这是什么原因呢?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the oceanbasev10reader input and hdfswriter output paths and trace how Timestamp(6) values are converted. Done means identifying why the two examples change precision and documenting or fixing the behavior, although the issue does not specify a target format.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.