Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.37.0
Description
At the moment, the MongoDB adapter throws a java.lang.ClassCastException when Decimal128 or Binary types are used, or when a primitive value is cast to a string.
Additionally, the ClassCastException error is not meaningful. It would be better to throw a custom exception within the convert function if it is impossible to convert an object to the Calcite runtime type.
Attachments
Issue Links
- links to