Skip to content

Conversation

@martinsumner
Copy link

Bring up-to-date with upstream changes

martinsumner and others added 4 commits March 11, 2025 20:50
Add block types, so that based on the content of blocks, a block can be split into different arrangements of sub-blocks.  This will allow for head/tail of the block with index entries to be exposed, to allow for more efficient 2i.  Also in general, when looking for the nth element, only a sub-block will need to be opened.

The code trades performance for neatness, with precise pattern matching used to avoid overheads with copying when concatenating lists.
Add extended query support:

- Query terms can be split into a map of projected attributes using an evaluation expression
- Terms can be filtered based on the map of projected attributes using a filter expression
- Query results cna be combined using a set expression


Co-authored-by: Thomas Arts <thomas.arts@quviq.com>
* Standardise formatting using erlfmt

Adding check of format to github actions

* Exclude generated files from formatting

* Use correct filelib function

Previously checked a file and also not a directory - where is_regular/1 is specifically checking the same thing.

Avoids a coverage miss, now the line has been reformated (as in our tests it is always a file), the only variance is when it is a directory.

* Revise formatting

Exclude where formatting has created less readable code (e.g. leveled_sstblock).  Also where erlfmt splits across lines and isolates the fun keyworrd in a fun((_) -> _) definition - this can cause problems with some editors/linters.

* Resolve highlighting issue by removing parenthesis
@martinsumner martinsumner moved this to In progress in OpenRiak 3.4 Sep 2, 2025
@martinsumner martinsumner moved this from In progress to In review in OpenRiak 3.4 Sep 3, 2025
@martinsumner martinsumner merged commit a4c63d3 into openriak-3.4 Sep 11, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in OpenRiak 3.4 Sep 11, 2025
@martinsumner martinsumner deleted the nhse-o34-upstream.d34-erlfmt branch September 11, 2025 20:44
@martinsumner martinsumner self-assigned this Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants