alibaba / alibaba/DataX

mongodbreader 中query 想要查询 ObjectID 类型的_id怎么写啊

Open
#1,412 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

"query":{
"_id":{
"$in":[
"ObjectId(\"62a985569749000048001f18\")",
"ObjectId(\"62a985bc9749000048018e67\")",
"ObjectId(\"62a985ee9749000048033c0f\")"
]
}
},

这样写查询结果为0.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by checking MongoDBReader's handling of the provided query, especially the _id $in values written as ObjectId strings. Reproduce the query with the three supplied IDs and verify whether matching documents are returned; done means the supported query form is identified or the limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb
Domain
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.