alibaba / alibaba/DataX

hive同步到mongo时,数据类型为bool值的字符变成了string

Open
#807 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

hive数据:
text
false
true

同步时设置mongo的text字段type=bool

同步结果为
{
"text": "false"
},
{
"text": "true"
}
text字段均变成了字符串

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Hive-to-Mongo synchronization described in the issue with a text field containing false and true, configured as MongoDB bool. Trace the synchronization path and its type handling. Done means the resulting MongoDB values are booleans rather than strings.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.