Skip to content
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

Update 5.case-expressions.md #865

Merged
merged 1 commit into from
Nov 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ nebula> GO FROM "player100" OVER follow \
ELSE "No" \
END \
AS Age_above_35;
+---------------------+-----+--------------+
| Name | Age | Age_above_35 |
+---------------------+-----+--------------+
| "Tony Parker" | 36 | "No" |
| "LaMarcus Aldridge" | 33 | "No" |
+---------------------+-----+--------------+
+-----------------+-----+--------------+
| Name | Age | Age_above_35 |
+-----------------+-----+--------------+
| "Tony Parker" | 36 | "No" |
| "Manu Ginobili" | 41 | "No" |
+-----------------+-----+--------------+
```

The preceding `GO` query is intended to output `Yes` when the player's age is above 35. However, in this example, when the player's age is 36, the actual output is not as expected: It is `No` instead of `Yes`.
Expand Down