[ https://issues.apache.org/jira/browse/OAK-6838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247165#comment-16247165 ]
Vikas Saurabh commented on OAK-6838: ------------------------------------ Finally done in trunk at [r1814822|https://svn.apache.org/r1814822]. To maintain compatibility with Jr2 or older oak versions, {{-Doak.useOldInexistenceCheck=true}} can be passed on JVM command line. > IS NOT NULL condition for relative properties not working as expected > --------------------------------------------------------------------- > > Key: OAK-6838 > URL: https://issues.apache.org/jira/browse/OAK-6838 > Project: Jackrabbit Oak > Issue Type: Bug > Components: query > Reporter: Vikas Saurabh > Assignee: Vikas Saurabh > Priority: Minor > Fix For: 1.8, 1.7.12 > > Attachments: OAK-6838.patch > > > It seems that a query like > {noformat} > SELECT * FROM [nt:base] WHERE [a/b] IS NULL > {noformat} > should return paths where there exists a child {{a}} without a property {{b}} > (this works as expected) > But, it should also return paths where there is not child {{a}} in the first > place. > [~tmueller], does this sound a reasonable expectation? -- This message was sent by Atlassian JIRA (v6.4.14#64029)