Skip to content

Sorting does not sort variables and first does not paginate properly #4794

@mileung

Description

@mileung

What version of Dgraph are you using?

{"version":"v1.2.0","instance":"alpha","uptime":191733}

Have you tried reproducing the issue with the latest release?

yes

What is the hardware spec (RAM, OS)?

8GB ram macOS 10.15.3

Steps to reproduce the issue (command/config used to run Dgraph).

https://www.youtube.com/watch?v=3bLWInRxUY4&feature=youtu.be

Expected behaviour and actual result.

In the demo video above, you first see the results for all Lesson nodes with their total likes. When sorting the lessons by their total likes, only 3 lessons are returned even though in the beginning, there are 5 lessons total. Also, the lessons are not sorted as the one with the most likes (1 like) is missing. Changing the first pagination value in the query returns less than what is specified when the first pagination value is 5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething is broken.status/needs-attentionThis issue needs more eyes on it, more investigation might be required before accepting/rejecting it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions