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
We do not get back the query results we expect. We expect to see ex:freddy's schema:age (and no one else's), because the query is being performed using that identity, but we don't get any ages back.
Related issues/discussions:
#2
)Given the following data:
Transacted in this order (policy, followed by data):
We do not get back the query results we expect. We expect to see
ex:freddy
'sschema:age
(and no one else's), because the query is being performed using that identity, but we don't get any ages back.In contrast, if we tranasct the data first, before the policy:
We get back the expected results:
Initial investigation findings
The
schema:age
predicate is not present in the db's cache when we transact the policy first:Here it is on the db where we transacted the data first:
The correct flakes are being returned by query process here: https://github.com/fluree/db/blob/main/src/fluree/db/query/exec/select.cljc#L164, but during the iri lookup process for displaying the query results (https://github.com/fluree/db/blob/main/src/fluree/db/query/json_ld/response.cljc#L87), we are not finding the predicate and therefore failing to return it in the final results.
The text was updated successfully, but these errors were encountered: