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/15 16:57:16 UTC

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

     [ https://issues.apache.org/jira/browse/OAK-807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu reopened OAK-807:
---------------------------------


I apparently missed some cases, and the parser can still fail
                
> 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
>            Assignee: Alex Parvulescu
>            Priority: Minor
>             Fix For: 0.7
>
>
> 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