You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when doing a SELECT on pre-computed TABLE categories, the category "blue" still exists (contrary to my expectation). It has - as expected - no rows (count) and a sum of 0. But - again contrary to my expectations - the "blue" category has a max-value:
Describe the bug
The record still partially exists after it has been deleted from a pre-computed table view
Issue created based on this StackOverflow question:
https://stackoverflow.com/questions/77923527/difference-of-pre-computed-tables-in-surrealdb-and-sql-views-when-deleting-an-el
Steps to reproduce
item
table with category and amount field:categories
with a GROUP BY-clause and some window functions.item:C
. Thus, no items of category "blue" are left.item
shows the removal of item:C (and of the category "blue"):categories
, the category "blue" still exists (contrary to my expectation). It has - as expected - no rows (count) and a sum of 0. But - again contrary to my expectations - the "blue" category has a max-value:Expected behaviour
Expected behaviour can be reproduced by the SELECT statement itself, which serves as the base for the definition of the pre-computed table:
SurrealDB version
1.2.1 for macos on aarch64
Contact Details
alexander.fridriksson@surrealdb.com
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: