[teiid-issues] [JBoss JIRA] Resolved: (TEIID-252) Add constant cohersion to rewriter for comparison criteria.
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Tue Apr 21 10:51:22 EDT 2009
[ https://jira.jboss.org/jira/browse/TEIID-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins resolved TEIID-252.
----------------------------------
Resolution: Done
Added the rewriter checks to setcriteria and compare criteria simplifications. See TestQueryRewriter.
> Add constant cohersion to rewriter for comparison criteria.
> -----------------------------------------------------------
>
> Key: TEIID-252
> URL: https://jira.jboss.org/jira/browse/TEIID-252
> Project: Teiid
> Issue Type: Feature Request
> Components: Query Engine
> Affects Versions: 6.0.0
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Minor
> Fix For: 6.1.0
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> From a recent discussion with Larry, it would be good for the rewriter to handle situations like:
> "convert(col, type1) = constant of type2" => "col = constant of type1", where type1 is something other than string.
> We already have resolver logic to do this and in many circumstance failing to apply the narroring conversion would indicate a failing comparison.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list