Skip to content

Operator gt working as ge #2085

@aryzing

Description

@aryzing

If you suspect this could be a bug, follow the template.

  • What version of Dgraph are you using?
Dgraph version   : v1.0.2
Commit SHA-1     : fb2d3d3
Commit timestamp : 2018-01-17 15:40:00 +1100
Branch           : release/v1.0.2
  • Have you tried reproducing the issue with latest release?
    yes

  • What is the hardware spec (RAM, OS)?
    16GB, Ubuntu 16.04 LTS

  • Steps to reproduce the issue (command/config used to run Dgraph).
    Issue the following query using data from the second section of the tour, "Basic GraphQL+- Features"

{
  lots_of_friends(func: gt(age, 19), orderasc: age) {
    name@.
    age
  }
}
  • Expected behaviour and actual result.
    Expected: Catalina, aged 19, should not be in the results array
    Actual: Catalina is included in the results array,

gt-bug

Metadata

Metadata

Assignees

Labels

kind/bugSomething is broken.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions