Chi Fujii

Results 41 issues of Chi Fujii

### What should be done? In [UpdateDocument](https://github.com/FerretDB/FerretDB/blob/main/internal/handlers/common/update.go#L36 ), `findAndModify` returns `WriteError` instead of `CommandError` upon updating document which results in error. This is different from `update` command which returns `WriteError`....

code/chore

### What should be done? In `$group` aggregation Scalars dataset is skipped because aggregation grouped by value (`{"_id", "$v"}`) groups numbers of different types, and this causes output `_id` to...

code/chore

### What should be done? The providers `Composites`, `ArrayStrings`, `ArrayInt32s` are not included in the `$group` test because the order in compat and target can be not deterministic. Aggregation assigns...

code/chore

# Description Closes #2432. The linter added in https://github.com/FerretDB/FerretDB/pull/2459 discovered that we have slug and filename mismatch, see https://github.com/FerretDB/FerretDB/actions/runs/4761652987/jobs/8463755846?pr=2459 Let's fix the file name to match with slug. We don't...

code/chore

### What should be done? In https://github.com/FerretDB/FerretDB/pull/2151 `$group` aggregation was implemented. This issue is about supporting dot notation. See https://www.mongodb.com/docs/manual/reference/operator/aggregation/group/ DOD - [ ] `{"$group": {"_id": "$v.0"}}` - [ ]...

code/enhancement

# Description Closes #1751. ## Readiness checklist * [ ] I added/updated unit tests. * [ ] I added/updated integration/compatibility tests. * [ ] I added/updated comments and checked rendering....

### What should be done? When multiple update operators are used, FerretDB updates conflicting path for example `v.foo` and `v`. The example below is for `$set` and `$min` operator combinations...

code/bug

# Description Closes #{issue_number}. ## Readiness checklist * [ ] I added/updated unit tests. * [ ] I added/updated integration/compatibility tests. * [ ] I added/updated comments and checked rendering....

# Description Closes #1889. * `$group` needs to accumulate all values in the memory so it reads all document. * `$unwind` is a bit tricky to handle array iterator, it...

code/chore

# Description Closes #2490. ## Readiness checklist * [ ] I added/updated unit tests. * [ ] I added/updated integration/compatibility tests. * [ ] I added/updated comments and checked rendering....