Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datax处理TimeStamp类型存在的疑问 #2212

Open
DISC0V3RY opened this issue Sep 15, 2024 · 0 comments
Open

datax处理TimeStamp类型存在的疑问 #2212

DISC0V3RY opened this issue Sep 15, 2024 · 0 comments

Comments

@DISC0V3RY
Copy link

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的变成了秒级,这是什么原因呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant