You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2007/08/27 11:03:30 UTC
[jira] Created: (JCR-1090) Superfluous AndQueryNode in query tree
built by SQL parser
Superfluous AndQueryNode in query tree built by SQL parser
-----------------------------------------------------------
Key: JCR-1090
URL: https://issues.apache.org/jira/browse/JCR-1090
Project: Jackrabbit
Issue Type: Bug
Components: query
Reporter: Julian Reschke
Priority: Minor
Test query (tested with <http://people.apache.org/~mreutegg/jcr-query-translator/translator.html>):
SELECT * FROM nt:folder WHERE x = 1
generates the following query tree:
+ Root node
+ Select properties: *
+ PathQueryNode
+ LocationStepQueryNode: NodeTest=* Descendants=true Index=NONE
+ AndQueryNode
+ RelationQueryNode: Op: = Prop=@{}x Type=LONG Value=1
+ NodeTypeQueryNode: Prop={http://www.jcp.org/jcr/1.0}primaryType Value={http://www.jcp.org/jcr/nt/1.0}folder
It seems the AndQueryNode is superfluous.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JCR-1090) Superfluous AndQueryNode in query tree
built by SQL parser
Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger resolved JCR-1090.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.4
Fixed in revision: 570098
> Superfluous AndQueryNode in query tree built by SQL parser
> -----------------------------------------------------------
>
> Key: JCR-1090
> URL: https://issues.apache.org/jira/browse/JCR-1090
> Project: Jackrabbit
> Issue Type: Bug
> Components: query
> Reporter: Julian Reschke
> Priority: Minor
> Fix For: 1.4
>
>
> Test query (tested with <http://people.apache.org/~mreutegg/jcr-query-translator/translator.html>):
> SELECT * FROM nt:folder WHERE x = 1
> generates the following query tree:
> + Root node
> + Select properties: *
> + PathQueryNode
> + LocationStepQueryNode: NodeTest=* Descendants=true Index=NONE
> + AndQueryNode
> + RelationQueryNode: Op: = Prop=@{}x Type=LONG Value=1
> + NodeTypeQueryNode: Prop={http://www.jcp.org/jcr/1.0}primaryType Value={http://www.jcp.org/jcr/nt/1.0}folder
> It seems the AndQueryNode is superfluous.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JCR-1090) Superfluous AndQueryNode in query tree
built by SQL parser
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-1090:
-------------------------------
Affects Version/s: 0.9
1.0
1.0.1
1.1
1.1.1
1.2.1
1.2.2
1.2.3
1.3
1.3.1
Fix Version/s: (was: 1.4)
1.3.2
Merged to the 1.3 branch in revision 577704.
> Superfluous AndQueryNode in query tree built by SQL parser
> -----------------------------------------------------------
>
> Key: JCR-1090
> URL: https://issues.apache.org/jira/browse/JCR-1090
> Project: Jackrabbit
> Issue Type: Bug
> Components: query
> Affects Versions: 0.9, 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3, 1.3, 1.3.1
> Reporter: Julian Reschke
> Priority: Minor
> Fix For: 1.3.2
>
>
> Test query (tested with <http://people.apache.org/~mreutegg/jcr-query-translator/translator.html>):
> SELECT * FROM nt:folder WHERE x = 1
> generates the following query tree:
> + Root node
> + Select properties: *
> + PathQueryNode
> + LocationStepQueryNode: NodeTest=* Descendants=true Index=NONE
> + AndQueryNode
> + RelationQueryNode: Op: = Prop=@{}x Type=LONG Value=1
> + NodeTypeQueryNode: Prop={http://www.jcp.org/jcr/1.0}primaryType Value={http://www.jcp.org/jcr/nt/1.0}folder
> It seems the AndQueryNode is superfluous.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.