Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2100

coalesce() creating unexpected results when used with order()

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.4
    • 3.4.0, 3.3.5
    • process
    • None

    Description

      Bug was originally reported here:

      https://stackoverflow.com/q/53482054/1831717

      demonstrated as:

      gremlin> g.V().
      ......1>   hasLabel("person").
      ......2>   out("created").
      ......3>   order().by("name").
      ......4>   coalesce(values("name").fold(), constant("x")).
      ......5>   fold()
      ==>[[lop,lop,lop],[lop,lop,lop],[lop,lop,lop],[ripple]]
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dkuppitz Daniel Kuppitz
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment