Skip to content

Query transforms appear to be running to completion, per document #4133

@AndrewSisley

Description

@AndrewSisley

They should not - they should allow the transforms to pull in as many documents as they like, before yielding items.

We have a test gap here, as none of our test modules aggregate doc state, some do filter and append docs, but they will not catch this problem.

For example, see the module https://codeberg.org/AndrewSisley/Gulistan/src/branch/init/src-tauri/modules/std_dev - it calculates the standard deviation, but Defra is messing things up when using it in a View so that the calc is run per document queried, instead of for all documents.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions