job启动命令里 -p -D{{变量名}}=时间戳,在mongodbreader中使用query无法接收int类型
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 5.7k
- PR merge metrics
- No merged PRs in 30d
Description
例如:
"query": {
"timestamp": {
"$gt": "$timestamp"
}
},
最后json会被替换为
"query": {
"timestamp": {
"$gt": "1592812259"
}
},
期望为
"query": {
"timestamp": {
"$gt": 1592812259
}
},
导致查询与预期不符合
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing how the job startup -p/-Dtimestamp parameter is substituted before the MongoDBReader query is executed. Reproduce the example and inspect the JSON conversion path; done means a numeric timestamp is passed as a number in the MongoDB query rather than as a quoted string.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mongodb
- Domain
- data, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100