[ https://issues.apache.org/jira/browse/OAK-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Marth updated OAK-474: ------------------------------ Assignee: Alex Parvulescu > Query tck test SQLJoinTest failing with ParseException > ------------------------------------------------------ > > Key: OAK-474 > URL: https://issues.apache.org/jira/browse/OAK-474 > Project: Jackrabbit Oak > Issue Type: Sub-task > Components: jcr, query > Reporter: Alex Parvulescu > Assignee: Alex Parvulescu > Fix For: 0.13 > > > The {{SQLJoinTest}} is failing with the following parsing exception [0] > As this is not failing due to some missing feature, I think the parser should > be fixed. > It looks like SQL joins are not supported yet. > Query: > {code} > SELECT * FROM nt:unstructured, mix:referenceable > WHERE nt:unstructured.jcr:path = mix:referenceable.jcr:path > AND jcr:path LIKE '/testroot/%' > {code} > [0] > {code} > Caused by: java.text.ParseException: Query: > SELECT * FROM nt:unstructured,(*)mix:referenceable > WHERE nt:unstructured.jcr:path = mix:referenceable.jcr:path > AND jcr:path LIKE '/testroot/%'; expected: <end> > at > org.apache.jackrabbit.oak.query.SQL2Parser.getSyntaxError(SQL2Parser.java:1104) > at org.apache.jackrabbit.oak.query.SQL2Parser.parse(SQL2Parser.java:135) > {code} -- This message was sent by Atlassian JIRA (v6.1#6144)