[jira] [Resolved] (OAK-385) Query: correctly convert values
[ https://issues.apache.org/jira/browse/OAK-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mueller resolved OAK-385. Resolution: Fixed Revision 1416895 Query: correctly convert values --- Key: OAK-385 URL: https://issues.apache.org/jira/browse/OAK-385 Project: Jackrabbit Oak Issue Type: Bug Components: core Reporter: Thomas Mueller Assignee: Thomas Mueller Converting values to the right type is currently implemented on a ad-hoc basis. It does not conform the JCR specification. Instead, values should be converted according to spec, possibly using the Conversions class from OAK-380. -- 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
[ 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] [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