[
https://issues.jboss.org/browse/TEIID-5191?page=com.atlassian.jira.plugin...
]
Ramesh Reddy resolved TEIID-5191.
---------------------------------
Resolution: Done
The JDBC Driver does not like when on resultset the columns are retrieved using specific
methods such as getInt, getDouble etc. Opted to use getObject always
Osisoft translator - AVG on integral column returns NULL
--------------------------------------------------------
Key: TEIID-5191
URL:
https://issues.jboss.org/browse/TEIID-5191
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
Running a query such as
{code:sql}
SELECT AVG(intnum) FROM BQT1.SmallA
{code}
returns just a NULL value.
Running an equivalent query directly against the PI datasource returns the correct
result.
This happens for any column type except for single and double.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)