Otherwise evaluatable constructs will inhibit pushdown
------------------------------------------------------
Key: TEIID-3960
URL:
https://issues.jboss.org/browse/TEIID-3960
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 8.7.2.6_2
Reporter: Johnathon Lee
Assignee: Steven Hawkins
Fix For: 9.0, 8.12.5, 8.13.1, 8.7.3.6_2
TEIID-1522 introduced a corner case regression such that a constant projection was
inlined (removing the need for a fake dependent join), but the resulting expressions were
not seen as able to be pushded due to a curdate function preventing the pre-evaluation of
non-pushable constructs.