Reading a 0/1 pump interlock with JDBC getBoolean throws an IntColumn exception
A pump-interlock flag is stored as INT32 values 0 and 1. The ordinary query returns both values: SELECT code AS interlock_code FROM root.pump_interlocks.pump_a; +-----------------------------+--------------+ | Time|interlock_code| +-----------------------------+--------------+ |1970-01-01T08:00:01.000+08:00| 0| |1970-01-01T08:00:02.000+08:00| 1| +-----------------------------+--------------+ However, JDBC getBoolean("interlock_code") throws UnsupportedOperationException for both rows. This is Apache IoTDB 2.0.10, tree model, JDBC driver 2.0.10, on Java 17.0.9. Here is the complete data setup:
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.