[teiid-issues] [JBoss JIRA] (TEIID-3502) Teiid returns number of type "byte" which ist out of range

Juraj Duráni (JIRA) issues at jboss.org
Mon Jun 1 09:15:07 EDT 2015


Juraj Duráni created TEIID-3502:
-----------------------------------

             Summary: Teiid returns number of type "byte" which ist out of range
                 Key: TEIID-3502
                 URL: https://issues.jboss.org/browse/TEIID-3502
             Project: Teiid
          Issue Type: Bug
            Reporter: Juraj Duráni
            Assignee: Steven Hawkins


Teiid returns for query (1) a number which is out of range for type "byte" (2). The source column has the data type that is wider than byte (3), but e.g. Oracle does not support such small data type as byte so teiid should take care of it. Same with the data type "short".

(1) SELECT bytenum, abs(bytenum) FROM <table>;

(2)
-128 128
-127 127
...

(3) oracle: bytenum - number
teiid: bytenum - byte



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the teiid-issues mailing list