You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2013/05/25 18:17:20 UTC

[jira] [Commented] (JENA-460) TDB stats optimizer misguesses "TERM TERM ?var"

    [ https://issues.apache.org/jira/browse/JENA-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667127#comment-13667127 ] 

Andy Seaborne commented on JENA-460:
------------------------------------

Attached files:
Query - Q1.rq
Algebra - pat1.sse
stats file - stats.dbg

Run with 
{noformat}
tdbreorder pat1.sse stats.dbg 
{noformat}
with code from JenaDev.

                
> TDB stats optimizer misguesses "TERM TERM ?var"
> -----------------------------------------------
>
>                 Key: JENA-460
>                 URL: https://issues.apache.org/jira/browse/JENA-460
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: TDB
>    Affects Versions: Jena 2.10.1
>            Reporter: Andy Seaborne
>            Priority: Minor
>         Attachments: pat1.sse, Q1.rq, stats.dbg
>
>
> It assigns a weighting of -1 to "TERM TERM ?var" which started as ?v1 ?v2 ?v3.
> fixed.opt assigns 2.
> Workaround: add:
> {noformat}
>   ( (TERM TERM VAR 2) )
> {noformat}
> to the stats file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira