You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/05/02 13:00:17 UTC

[jira] [Created] (OAK-807) Keep original xpath query as a comment appended to the generated sql2 query

Alex Parvulescu created OAK-807:
-----------------------------------

             Summary: Keep original xpath query as a comment appended to the generated sql2 query
                 Key: OAK-807
                 URL: https://issues.apache.org/jira/browse/OAK-807
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core, query
            Reporter: Alex Parvulescu
            Priority: Minor


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: //* */

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira