[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1155) Allow boolean value expressions to be used as criteria or expressions

Steve Hawkins (JIRA) jira-events at lists.jboss.org
Tue Jul 13 14:18:58 EDT 2010


     [ https://jira.jboss.org/browse/TEIID-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Hawkins resolved TEIID-1155.
----------------------------------

    Resolution: Done


Added a workaround class ExpressionCriteria to use a boolean value expression as a Criteria object.  Also changed criteria to implement Expression and updated the relevant expression logic to handle criteria.  We will rewrite ExpressionCriteria as "expression = true" since we would have to change quite a bit of the language api to use expression in all the places where condition is expected, but will pushdown criteria as expression, since they will be subject to the appropriate support checks.

> Allow boolean value expressions to be used as criteria or expressions
> ---------------------------------------------------------------------
>
>                 Key: TEIID-1155
>                 URL: https://jira.jboss.org/browse/TEIID-1155
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Query Engine
>    Affects Versions: 7.1
>            Reporter: Steve Hawkins
>            Assignee: Steve Hawkins
>             Fix For: 7.1
>
>
> There was a legacy design decision that segregated expressions and criteria.  The sql spec makes no such distinction.  For 7.1 it is necessary though, for ODBC support, to at least support parsing expressions where we expect criteria. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list