-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove _predicate_ from Dgraph. (#3262)
From now on, expand queries will rely solely on the type of the node. This change removes all mentions of the _predicate_ internal pred that was previously being used to serve this type of queries. There is also another small change to allow the value of a list variable to be used as a list of predicates in expand queries. Most of the changes due to removing or replacing tests. These changes are due to one of the following reasons. 1. Tests that were checking for the state of _predicate_ and are no longer valid. 2. Tests that were doing checks that should be done inside of the query package. They have been removed if there was an existing query that was doing the same or a new test has been added if no similar test existed. 3. Some of the expand tests inside the query package were removed because there are tests verifying the expand functionality using types. Since types are now the only way to make expand queries work, these tests became obsolete. Verified jepsen tests work and that the 21 million dataset works as expected by manually adding types to certain nodes. Types and type definitons will be added to the entire dataset later.
- Loading branch information
Showing
31 changed files
with
219 additions
and
766 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
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
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
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
Oops, something went wrong.