[
https://issues.jboss.org/browse/TEIID-5153?page=com.atlassian.jira.plugin...
]
Steven Hawkins commented on TEIID-5153:
---------------------------------------
The logic isn't appropriately differentiating between scalar subqueries and inline
views. In the former you do want to preevaluate "select (select random()) from
test_a", but not the latter.
RAND function gives same results in view
----------------------------------------
Key: TEIID-5153
URL:
https://issues.jboss.org/browse/TEIID-5153
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 9.3.4
Environment: teiid-9.3.4 on WildFly Full 10.0.0.Final (WildFly Core
2.0.10.Final)
Reporter: dalex dalex
Assignee: Steven Hawkins
Priority: Critical
When using patched PostgreSQLExecutionFactory class to push down RAND function it starts
to give the same values in a view. I wanted to push down RAND function in PostgreSQL for a
while and noticed the bug related to identical values when using RAND function through a
select in a view.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)