-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug With Anonymous Records? #2158
Comments
The endless loop in the AST-transformation pipeline is caused by |
I have provided the fix so that aggregates are rewritten as well. The example would be rewritten to:
However, there is still the problem that the aggregation fails. |
The problem is that we don't have a simple aggregate (although it looks like a simple aggregate).
This will not work because we have an unpack inside the aggregate relation. |
You could introduce a helper relation that reflects the computations inside the count sub-clause. That might be the easiest way to solve your problem. |
I solved it with a relation that maps the Cell records to |
Discussed in #2156
Originally posted by cwarden December 13, 2021
I'm working with records for the first time and running into an unexpected issue. Running the following program with
souffle -v
, souffle seems to get stuck in a loop ofResolveAnonymousRecordAliases
andFoldAnonymousRecords
.Is it a bug or am I doing something wrong?
The issue occurs as of 244cb07.
The text was updated successfully, but these errors were encountered: