comnik / comnik/declarative-dataflow

Aggregate and group by same symbol

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
326
Forks
27
PR merge metrics
No merged PRs in 30d

Description

When we specify the same symbol as key and aggregation symbol we get an `index out of bounds` problem.

```
:find ?e ?amount (count ?amount)
...
```
Even though such a query does not make sense we should guard the user.

The problem occurs when calling `tuples_by_symbols` and subsequent trying to access the now empty value vector

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.