Details
-
Bug
-
Resolution: Done
-
Major
-
8.12.11.6_4
-
None
Description
Running a query such as
SELECT MAX(BooleanValue) FROM BQT1.SmallA
fails with the following exception:
java.lang.ClassCastException: java.lang.Byte cannot be cast to java.lang.Boolean at com.osisoft.jdbc.ResultSetImpl.getBoolean(ResultSetImpl.java:407) at org.jboss.jca.adapters.jdbc.WrappedResultSet.getBoolean(WrappedResultSet.java:594) ... 22 more
Same issue occurs when using MIN.
Running an equivalent query directly against the Osisoft PI datasource returns the correct result, with the return type being int8 (i.e. byte)