-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
return plain null values if tag or prop does not exist. (#5151)
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright (c) 2021 vesoft inc. All rights reserved. | ||
# | ||
# This source code is licensed under Apache 2.0 License. | ||
Feature: Attribute using test | ||
|
||
Background: | ||
Given load "test" csv data to a new space | ||
|
||
Scenario: Attribute with null data | ||
When executing query: | ||
""" | ||
MATCH p0 = (v0)-[e0]->() | ||
WHERE id(v0) in [1,2,3,4,5,6,7,8,9,10] | ||
UNWIND nodes(p0) AS ua0 | ||
with ua0 | ||
where ua0.Label_5.Label_5_7_Bool | ||
return count(*) | ||
""" | ||
Then the result should be, in any order: | ||
| count(*) | | ||
| 61 | | ||
When executing query: | ||
""" | ||
MATCH p0 = (v0)-[e0]->() | ||
WHERE id(v0) in [1,2,3,4,5,6,7,8,9,10] | ||
UNWIND nodes(p0) AS ua0 | ||
with ua0 | ||
where ua0.Label_5.Label_5_7_Bool == true | ||
return count(*) | ||
""" | ||
Then the result should be, in any order: | ||
| count(*) | | ||
| 61 | |