-
Notifications
You must be signed in to change notification settings - Fork 51
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
Explain the attributes of typeIndexJoin
.
#475
Labels
Milestone
Comments
shahzadlone
added
feature
New feature or request
area/query
Related to the query component
labels
May 27, 2022
This was referenced May 27, 2022
1 task
shahzadlone
added a commit
that referenced
this issue
Jun 10, 2022
- RELEVANT ISSUE(S) Resolves #475 - DESCRIPTION Add the remaining attributes for `typeIndexJoin` node that we want to see in the explainable response. Example: Request: ``` query @Explain { author { _key name contact { email address { city } } } } ``` Response: ``` { "explain": { "selectTopNode": { "renderNode": { "selectNode": { "filter": nil "typeIndexJoin": { "joinType": "typeJoinOne" "direction": "primary" "rootName": "author" "root": { "scanNode": { "filter": nil "collectionID": "3" "collectionName": "author" "spans": []{ { "start": "/3" "end": "/4" } } } } "subTypeName": "contact" "subType": { "selectTopNode": { "selectNode": { "filter": nil "typeIndexJoin": { "joinType": "typeJoinOne" "direction": "primary" "rootName": "contact" "root": { "scanNode": { "filter": nil "collectionID": "4" "collectionName": "authorContact" "spans": []{ { "start": "/4" "end": "/5" } } } } "subTypeName": "address" "subType": { "selectTopNode": { "selectNode": { "filter": nil "scanNode": { "filter": nil "collectionID": "5" "collectionName": "contactAddress" "spans": []{ { "start": "/5" "end": "/6" } } } } } } } } } } } } } } } } ```
shahzadlone
added a commit
to shahzadlone/defradb
that referenced
this issue
Feb 23, 2024
- RELEVANT ISSUE(S) Resolves sourcenetwork#475 - DESCRIPTION Add the remaining attributes for `typeIndexJoin` node that we want to see in the explainable response. Example: Request: ``` query @Explain { author { _key name contact { email address { city } } } } ``` Response: ``` { "explain": { "selectTopNode": { "renderNode": { "selectNode": { "filter": nil "typeIndexJoin": { "joinType": "typeJoinOne" "direction": "primary" "rootName": "author" "root": { "scanNode": { "filter": nil "collectionID": "3" "collectionName": "author" "spans": []{ { "start": "/3" "end": "/4" } } } } "subTypeName": "contact" "subType": { "selectTopNode": { "selectNode": { "filter": nil "typeIndexJoin": { "joinType": "typeJoinOne" "direction": "primary" "rootName": "contact" "root": { "scanNode": { "filter": nil "collectionID": "4" "collectionName": "authorContact" "spans": []{ { "start": "/4" "end": "/5" } } } } "subTypeName": "address" "subType": { "selectTopNode": { "selectNode": { "filter": nil "scanNode": { "filter": nil "collectionID": "5" "collectionName": "contactAddress" "spans": []{ { "start": "/5" "end": "/6" } } } } } } } } } } } } } } } } ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Subtask of #35.
Explain the attributes of
typeIndexJoin
.Remaining attributes for this node are
type
,relation
, anddirection
.The text was updated successfully, but these errors were encountered: