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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2012/12/04 16:46:58 UTC

[jira] [Reopened] (OAK-475) Query tck test SameNodeJoinConditionTest failing with ParseException

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

Thomas Mueller reopened OAK-475:
--------------------------------


One test is still failing:

org.apache.jackrabbit.test.api.query.qom.SameNodeJoinConditionTest#testRightOuterJoinWithPath


                
> Query tck test SameNodeJoinConditionTest failing with ParseException
> --------------------------------------------------------------------
>
>                 Key: OAK-475
>                 URL: https://issues.apache.org/jira/browse/OAK-475
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: core, jcr
>            Reporter: Alex Parvulescu
>            Assignee: Thomas Mueller
>
> The {{SameNodeJoinConditionTest}} test is failing with a parsing exception.
> As this is not failing due to some missing feature, I think the test should be fixed.
> Query
> {code}
> select * from [nt:unstructured] AS [left] INNER JOIN [nt:unstructured] AS [right] ON ISSAMENODE([left], [right], [.]) where ISDESCENDANTNODE([right], [/testroot])
> {code}
> Trace
> {code}
> Caused by: java.text.ParseException: Query: select * from [nt:unstructured] AS [left] INNER JOIN [nt:unstructured] AS [right] ON ISSAMENODE([left], [right], [.])(*)where ISDESCENDANTNODE([right], [/testroot]); expected: absolute path
> 	at org.apache.jackrabbit.oak.query.SQL2Parser.getSyntaxError(SQL2Parser.java:1104)
> 	at org.apache.jackrabbit.oak.query.SQL2Parser.readAbsolutePath(SQL2Parser.java:458)
> 	at org.apache.jackrabbit.oak.query.SQL2Parser.parseJoinCondition(SQL2Parser.java:235)
> 	at org.apache.jackrabbit.oak.query.SQL2Parser.parseSource(SQL2Parser.java:219)
> 	at org.apache.jackrabbit.oak.query.SQL2Parser.parse(SQL2Parser.java:123)
> {code}

--
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