-
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.
* Fix extract filter. * Fail directly. * Revert "Fail directly." This reverts commit 671f729. Co-authored-by: Sophie <[email protected]> Co-authored-by: kyle.cao <[email protected]>
- Loading branch information
1 parent
afaf442
commit 3e2d7b2
Showing
2 changed files
with
18 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,17 @@ | ||
# Copyright (c) 2022 vesoft inc. All rights reserved. | ||
# | ||
# This source code is licensed under Apache 2.0 License. | ||
Feature: Test extract filter | ||
|
||
Background: | ||
Given a graph with space named "nba" | ||
|
||
Scenario: Extract filter bug | ||
When executing query: | ||
""" | ||
MATCH (v:player{name: 'Tim Duncan'})-[:like]->(t) WHERE ( (1 == 1 AND (NOT is_edge(t))) OR (v.player.name == 'Tim Duncan')) RETURN v.player.name | ||
""" | ||
Then the result should be, in any order: | ||
| v.player.name | | ||
| 'Tim Duncan' | | ||
| 'Tim Duncan' | |