jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-475) Query tck test SameNodeJoinConditionTest failing with ParseException
Date Tue, 04 Dec 2012 14:48:58 GMT

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

Thomas Mueller resolved OAK-475.
--------------------------------

    Resolution: Fixed

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

Mime
View raw message