SQL2 parser: improved error message for ambiguous properties in joins
---------------------------------------------------------------------
Key: JCR-2923
URL: https://issues.apache.org/jira/browse/JCR-2923
Project: Jackrabbit Content Repository
Issue Type: Improvement
Reporter: Thomas Mueller
For queries of the form:
select id from parent inner join child on parent.id=child.parentid
the SQL2 parser currently only returns a generic error message "This query
result contains more than one selector".
The error message should point to the problematic token:
Query: select id(*)from parent inner join child on parent.id=child.parentid;
expected: Need to specify the selector name for "id" because the query contains
more than one selector.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira