写es,类型date的字段为null时,默认添加为当前时间?这个算不算bug
Open
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 5.7k
- PR merge metrics
- No merged PRs in 30d
Description
es定义为date, 从reader过来的数据也是时间类型,发现当reader数据为null,自动添加为当前时间,而不是返回null, jar包为ESWriter.java
Contributor guide
No contributing guide indexed for this repository
Research direction
Read ESWriter.java and trace how null date values from the reader are handled. Reproduce the behavior with an Elasticsearch date field and a null reader value, then verify that the writer preserves null instead of substituting the current time; add or update a focused regression test if the project provides one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100