[
https://issues.apache.org/jira/browse/JENA-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13886093#comment-13886093
]
ASF subversion and git services commented on JENA-630:
------------------------------------------------------
Commit 1562658 from [~rvesse] in branch 'jena/trunk'
[ https://svn.apache.org/r1562658 ]
Add an experimental ExprTransformConstantFold which is an expression
transformer that folds constants to simplify expressions (JENA-630)
This commit includes a change to ExprFunctionN to make the copy() method public
to align with the other ExprFunction classes e.g. ExprFunction1. It also fixes
the logic for copySubstitute() for this class to try and fold the whole
expression where possible.
> Do constant folding as part of query optimisation
> -------------------------------------------------
>
> Key: JENA-630
> URL: https://issues.apache.org/jira/browse/JENA-630
> Project: Apache Jena
> Issue Type: Improvement
> Components: ARQ
> Affects Versions: Jena 2.11.1
> Reporter: Rob Vesse
> Assignee: Rob Vesse
>
> Currently Jena does not automatically simplify expressions by constant
> folding even though the function API actually has support for this already
> baked into it.
> This issue will track work to integrate a transform for this into the
> standard optimiser.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)