[ 
https://issues.apache.org/jira/browse/CALCITE-6623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CALCITE-6623:
------------------------------------
    Labels: pull-request-available  (was: )

> MongoDB adapter throws a java.lang.ClassCastException when Decimal128 or 
> Binary types are used, or when a primitive value is cast to a string
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-6623
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6623
>             Project: Calcite
>          Issue Type: Bug
>          Components: mongodb-adapter
>    Affects Versions: 1.37.0
>            Reporter: Dmitry Sysolyatin
>            Assignee: Dmitry Sysolyatin
>            Priority: Major
>              Labels: pull-request-available
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to