[
https://issues.jboss.org/browse/TEIID-1498?page=com.atlassian.jira.plugin...
]
Steven Hawkins updated TEIID-1498:
----------------------------------
Workaround Description: Use the conjunctive normal form of the condition, e.g. instead
of "not((a or b) AND c)", use "(not(a) or not(c)) and (not(b) or
not(c))" (was: Use the disjunctive normal form of the condition, e.g. instead of
"not((a or b) AND c)", use "(not(a) or not(c)) and (not(b) or
not(c))")
Incorrect rewrite of not disjunctive criteria
----------------------------------------------
Key: TEIID-1498
URL:
https://issues.jboss.org/browse/TEIID-1498
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.0
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Critical
Fix For: 7.4
The rewrite of a condition such as "not((a or b) AND c)" with a,b,c predicates
where c a is predicate that is negatable, such as col1 = 1. The result should have the
negated form of col1 <> 1, but instead has col1 = 1. This is because the col1 = 1
predicate is repeated in the result, but not cloned and the rewriter modifies the same
instance.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira