You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class java.lang.Float cannot be cast to class java.lang.Double (java.lang.Float and java.lang.Double are in module java.base of loader 'bootstrap')
at org.apache.calcite.avatica.util.AbstractCursor$DoubleAccessor.getDouble(AbstractCursor.java:634)
at org.apache.calcite.avatica.util.AbstractCursor$AccessorImpl.getFloat(AbstractCursor.java:325)
at org.apache.calcite.avatica.AvaticaResultSet.getFloat(AvaticaResultSet.java:265)
The text was updated successfully, but these errors were encountered:
Thanks for the JIRA @huukhuongnguyen, can you please post how to reproduce the exception you are seeing?
I encountered the above situation when used a simple select in a float variable in the kudu table., but change double variable it's ok. Maybe I used something wrong String jdbcURL = String.format(JDBCUtil.CALCITE_MODEL_TEMPLATE,DefaultKuduSchemaFactory.class.getName(),stringurl);
class java.lang.Float cannot be cast to class java.lang.Double (java.lang.Float and java.lang.Double are in module java.base of loader 'bootstrap')
at org.apache.calcite.avatica.util.AbstractCursor$DoubleAccessor.getDouble(AbstractCursor.java:634)
at org.apache.calcite.avatica.util.AbstractCursor$AccessorImpl.getFloat(AbstractCursor.java:325)
at org.apache.calcite.avatica.AvaticaResultSet.getFloat(AvaticaResultSet.java:265)
The text was updated successfully, but these errors were encountered: