You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rya.apache.org by "Caleb Meier (JIRA)" <ji...@apache.org> on 2016/01/06 18:09:39 UTC

[jira] [Updated] (RYA-29) Sesame Var isConstant() returning incorrect values for newly parsed queries

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

Caleb Meier updated RYA-29:
---------------------------
    Affects Version/s:     (was: 3.2.10)
                       3.2.9
        Fix Version/s:     (was: 3.2.10)
          Description: The QueryVariableNormalizer relies on an older version of the SPARQLParser.  When creating the TupleExpr from the query string, the older parser set the constant field for Var objects with a non-null value field to be true.  This made the isConstant() method for Var return true when the value was non-null.  However, in newer versions of sesame (sesame-2.7.6) this is no longer true.  The method isConstant() returns false even those the Var object has a non-null value field.  Given that the QueryVariableNormalizer relies extensively on the isConstant() method, this has created a number of bugs within that class.  (was: Fix incorrect import statements.  Also, the QueryVariableNormalizer relies on an older version of the SPARQLParser.  When creating the TupleExpr from the query string, the older parser set the constant field for Var objects with a non-null value field to be true.  This made the isConstant() method for Var return true when the value was non-null.  However, in newer versions of sesame (sesame-2.7.6) this is no longer true.  The method isConstant() returns false even those the Var object has a non-null value field.  Given that the QueryVariableNormalizer relies extensively on the isConstant() method, this has created a number of bugs within that class.)
              Summary: Sesame Var isConstant() returning incorrect values for newly parsed queries  (was: The classes VarConstantIndexListPruner and AccumuloIndexSet have incorrect import statements, and the class QueryVariableNormalizer relies on an older version of the sesame SPARQLParser)

> Sesame Var isConstant() returning incorrect values for newly parsed queries
> ---------------------------------------------------------------------------
>
>                 Key: RYA-29
>                 URL: https://issues.apache.org/jira/browse/RYA-29
>             Project: Rya
>          Issue Type: Bug
>    Affects Versions: 3.2.9
>            Reporter: Caleb Meier
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> The QueryVariableNormalizer relies on an older version of the SPARQLParser.  When creating the TupleExpr from the query string, the older parser set the constant field for Var objects with a non-null value field to be true.  This made the isConstant() method for Var return true when the value was non-null.  However, in newer versions of sesame (sesame-2.7.6) this is no longer true.  The method isConstant() returns false even those the Var object has a non-null value field.  Given that the QueryVariableNormalizer relies extensively on the isConstant() method, this has created a number of bugs within that class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)