alibaba / alibaba/DataX

求助,mongodbreader组件中query中包含isodate怎么搞

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

MongoDB:
.find({'behaviorDate':{'$gt':ISODate('2020-03-10T16:00:00Z'),'$lt':ISODate('2020-03-11 16:00:00Z')}})

DataX:
"query":"{\"behaviorDate\":{\"$gte\":\"2020-03-10T16:00:00Z\",\"$lt\":\"2020-03-11T16:00:00Z\"}}"配置完全查不到数据。。。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the MongoDBReader query path and reproduce the supplied configuration against the MongoDB find example. Compare how the reader interprets ISODate expressions and quoted date values; done means identifying the supported query form or documenting that the requested date filtering is unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mongodb
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.