[teiid-issues] [JBoss JIRA] (TEIID-5153) RAND function gives same results in view

Steven Hawkins (JIRA) issues at jboss.org
Fri Nov 17 12:30:03 EST 2017


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

Steven Hawkins resolved TEIID-5153.
-----------------------------------
    Fix Version/s: 9.3.5
                   10.1
                   10.0.1
       Resolution: Done


Expanded the logic that sets the eval flag to false to also consider functions appearing in subquery from clause and with clause locations.

> 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
>             Fix For: 9.3.5, 10.1, 10.0.1
>
>
> 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)


More information about the teiid-issues mailing list