Nitul created JCR-4811:
--------------------------
Summary: Measure query not working
Key: JCR-4811
URL: https://issues.apache.org/jira/browse/JCR-4811
Project: Jackrabbit Content Repository
Issue Type: Bug
Components: JCR 2.0
Reporter: Nitul
According to JCR query measure -
https://jackrabbit.apache.org/oak/docs/query/grammar-sql2.html#measure
The query result has two columns, one called ‘selector’ and one called
‘scanCount’. The result has at least two rows, one that represents the total
(selector set to ‘query’), and one per selector used in the query.
But when we execute this in JCR
https://mvnrepository.com/artifact/javax.jcr/jcr/2.0
Executing queryResult.getRows().hasNext() throws NullPointerException
Query :
measure SELECT * FROM [nt:file] AS node WHERE ISCHILDNODE(node,[/apath])
--
This message was sent by Atlassian Jira
(v8.20.10#820010)