-
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.
fix(sort): Make sort consistent for indexed and without indexed predi…
…cates (#7241) Make the result of sort consistent for predicate with and without index. After this change, the predicates with null values will appear at the last of the sort result for both ascending and descending sort, for both index/no-index case. Before this change the result for predicate with index didn't contain the null predicates and the one without index treated nulls as infinite value - they appeared at the beginning for descending while at the end for the ascending sort case. NOTE: This is a breaking change for the response of sort. Co-authored-by: Rajas Vanjape <rajas@dgraph.io> (cherry picked from commit 85278f8)
- Loading branch information
1 parent
144991c
commit 6cfbadb
Showing
5 changed files
with
253 additions
and
13 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