[teiid-issues] [JBoss JIRA] Commented: (TEIID-1346) Rewrite is wrong with translate criteria and no user criteria
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Thu Nov 4 16:46:01 EDT 2010
[ https://jira.jboss.org/browse/TEIID-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561482#action_12561482 ]
Steven Hawkins commented on TEIID-1346:
---------------------------------------
The proposal to fix will change several things about translate criteria (which will be added to the reference)
1. if there is no user criteria, then a translation is true
2. if a criteria selector does not match (which can include criteria used in searched case expressions) a predicate, then it is an exception
3. the structure of the user criteria (and, or, not) will be preserved
> Rewrite is wrong with translate criteria and no user criteria
> -------------------------------------------------------------
>
> Key: TEIID-1346
> URL: https://jira.jboss.org/browse/TEIID-1346
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 6.0.0
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Critical
> Fix For: 7.1.1
>
>
> In a scenario with a user query of:
> update foo set (...)
> and a procedure of
> ...
> update foo1 set (...) where translate criteria
> ...
> the update will fail to happen since the criteria will be translated as FALSE.
--
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