Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Conflict with multi-valued properties and @sort #29

@ehedgehog

Description

@ehedgehog

When there are multi-valued properties, the current result-set to JSON translator relies on rows being grouped by ?item and enforcing (or not, see issue #28) that ordering with a SORT or GROUP.

If the user specifies an @sort, that grouping is (except by coincidence) lost.

I believe the fix for this will require using the @sort to generate a sorted result set which is streamed to (possibly) disc, noting the multiple values (possibly also on disc), and then restreaming the sorted result set to the client, with the first occurence of each item having the saved multiple values injected and all subsequent rows with that item being dropped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions