Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ You can also check the

## Unreleased

Nothing yet.
### Changed

- Improve cube query performance by removing expensive `DISTINCT` and `GROUP BY` clauses from SPARQL queries

### 6.2.5 - 2025-12-02

Expand Down
5 changes: 2 additions & 3 deletions app/rdf/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ export const getCubeObservations = async ({
preview,
limit,
observationsView,
disableDistinct: !filters || Object.keys(filters).length === 0,
});

const serverFilter =
Expand Down Expand Up @@ -723,13 +722,13 @@ async function fetchViewObservations({
preview,
limit,
observationsView,
disableDistinct,
}: {
preview?: boolean | null;
limit?: number | null;
observationsView: View;
disableDistinct: boolean;
}) {
const disableDistinct = true

/**
* Add LIMIT to query
*/
Expand Down
Loading