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 2012/11/26 12:22:58 UTC

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

Alex Parvulescu created OAK-475:
-----------------------------------

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


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

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

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller reassigned OAK-475:
----------------------------------

    Assignee: Thomas Mueller
    
> 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

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

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
     [ 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

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

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
     [ 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

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

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
     [ 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 1417349
                
> 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