Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Fix the mistake that yield validator mistake check the input/var. #1174

Closed

Conversation

Shylock-Hg
Copy link
Contributor

@Shylock-Hg Shylock-Hg commented Jun 24, 2021

@Shylock-Hg Shylock-Hg added bug Type: something is unexpected ready-for-testing PR: ready for the CI test need to discuss PR: need to discuss the current PR labels Jun 24, 2021
@Shylock-Hg Shylock-Hg requested a review from a team June 24, 2021 08:07
@Shylock-Hg Shylock-Hg requested review from yixinglu and a team June 24, 2021 08:58
| 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 |
Copy link
Contributor

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 ?

Copy link
Contributor Author

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.

@Shylock-Hg Shylock-Hg added doc affected Solution: improvements or additions to documentation incompatible PR: incompatible with the master branches in the storage or common repos labels Jul 2, 2021
@Shylock-Hg Shylock-Hg requested review from a team and yixinglu July 2, 2021 09:35
| "Manu Ginobili" |
| "Manu Ginobili" |
| "Manu Ginobili" |
| "Manu Ginobili" |
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@Shylock-Hg Shylock-Hg requested review from jievince and a team July 7, 2021 07:03
@Shylock-Hg
Copy link
Contributor Author

Move to vesoft-inc/nebula#2789

@Shylock-Hg Shylock-Hg closed this Sep 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Type: something is unexpected doc affected Solution: improvements or additions to documentation incompatible PR: incompatible with the master branches in the storage or common repos need to discuss PR: need to discuss the current PR ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants