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

    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

            People

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

              Dates

                Created:
                Updated:
                Resolved: