[ 
https://issues.apache.org/jira/browse/JCR-4811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated JCR-4811:
--------------------------------
    Component/s:     (was: JCR 2.0)

> Measure query not working
> -------------------------
>
>                 Key: JCR-4811
>                 URL: https://issues.apache.org/jira/browse/JCR-4811
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>            Reporter: Nitul
>            Priority: Critical
>
> 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)

Reply via email to