[teiid-issues] [JBoss JIRA] (TEIID-5127) Osisoft translator - MOD fails with non-integer arguments

RH Bugzilla Integration (JIRA) issues at jboss.org
Mon Jan 8 08:58:00 EST 2018


    [ https://issues.jboss.org/browse/TEIID-5127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13511212#comment-13511212 ] 

RH Bugzilla Integration commented on TEIID-5127:
------------------------------------------------

Andrej Smigala <asmigala at redhat.com> changed the Status of [bug 1506587|https://bugzilla.redhat.com/show_bug.cgi?id=1506587] from ON_QA to VERIFIED

> Osisoft translator - MOD fails with non-integer arguments
> ---------------------------------------------------------
>
>                 Key: TEIID-5127
>                 URL: https://issues.jboss.org/browse/TEIID-5127
>             Project: Teiid
>          Issue Type: Bug
>          Components: JDBC Connector
>    Affects Versions: 8.12.x-6.4
>            Reporter: Andrej Šmigala
>            Assignee: Ramesh Reddy
>             Fix For: 8.12.x-6.4, 10.1
>
>
> Query such as 
> {code:sql}
> SELECT FloatNum, 11, MOD(FloatNum, 11) FROM BQT1.SmallA
> {code}
> fails on the PI server with 
> {noformat}
> com.osisoft.rdsa.RdsaException: [PIOLEDBENT] [SQL Analyzer] [Line 1:34] [%] Overload resolution failed for (Single, Single) argument(s).
> {noformat}
> Similarly for Double arguments. It appears that the modulo operator % is only defined when both arguments are integers (contrary to PI OLEDB Enterprise 2016 User Guide, which states that it is defined for all numeric data types)



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the teiid-issues mailing list