forked from sourcenetwork/defradb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support to explain
countNode
attributes. (sourcenetwork#504)
- RELEVANT ISSUE(S) Resolves sourcenetwork#478 - DESCRIPTION (1) Adds ability to explain attributes of `countNode`. (2) Fixes a bug which was omitting the aggregate nodes. Request: ``` query @Explain { author { name numberOfBooks: _count(books: {}) } } ``` Response: ``` { "explain": { "selectTopNode": { "countNode": { "filter": nil, "sourceProperty": "books", "selectNode": { "filter": nil, "typeIndexJoin": { "scanNode": { "collectionID": "3", "collectionName": "author", "filter": nil, "spans": []{ { "start": "/3", "end": "/4", } } } } } } } } } ```
- Loading branch information
1 parent
644847f
commit 5169c0d
Showing
5 changed files
with
104 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters