-
Notifications
You must be signed in to change notification settings - Fork 132
Fix the mistake that yield validator mistake check the input/var. #1174
Fix the mistake that yield validator mistake check the input/var. #1174
Conversation
| 1 | | ||
| 1 | | ||
| 1 | | ||
| 1 | | ||
When executing query: | ||
""" | ||
GO FROM "Tim Duncan" OVER * | YIELD 1 AS a WHERE true; | ||
""" | ||
Then the result should be, in any order: | ||
| a | | ||
| 1 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to know what's the right result should be ? @CPWstatic
Should the number of results be same as the edges from Tim Duncan
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the origin code, I guess it may want to set input to the inner var when the all expressions of yield columns are constant. So I change it to this.
| "Manu Ginobili" | | ||
| "Manu Ginobili" | | ||
| "Manu Ginobili" | | ||
| "Manu Ginobili" | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The result of $var[row][col] is not a cell?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's not constant expr.
Move to vesoft-inc/nebula#2789 |
Close https://github.com/vesoft-inc/nebula-graph/issues/1169