Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-807

Keep original xpath query as a comment appended to the generated sql2 query

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.8
    • core, query
    • None

    Description

      Currently there is an automatic xpath to sql2 query conversion happening in the QueryEngine, it would be nice to have the original xpath query for debugging purposes, attached as an sql comment.

      The result would be along the lines of:
      select [jcr:path], [jcr:score], * from [nt:base] as a /* xpath: //* */

      Attachments

        Issue Links

        Activity

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

          People

            stillalex Alex Deparvu
            stillalex Alex Deparvu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment