-
Feature Request
-
Resolution: Done
-
Major
-
3.1.3.Final
-
None
ModeShape used to validate the columns used in queries, but that actually prevents users from selecting residual columns. For example, this query is now valid:
SELECT [myprop] FROM [nt:unstructured]
However, this means that some common mistakes are not caught. For example, one common typo is to use a period ('.') rather than a colon (':') in namespaced names:
SELECT [jcr.uuid] FROM [nt:base]
The above query is technically valid, but is probably a typo.
ModeShape should do as much as possible to help the user out. For example, we could change QueryResult to have a list of warnings, and we could include in those warnings things like:
- columns that are assumed to be residual columns because they do not match property definitions on node types.
- columns that don't match but are very similar to defined properties
(e.g., {{SELECT
- relates to
-
MODE-1851 Problem with three-way JOIN using ISCHILDNODE and reference property
-
- Closed
-