[
https://issues.apache.org/jira/browse/CALCITE-6729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-6729.
----------------------------------
Fix Version/s: avatica-1.26.0
Resolution: Fixed
Fixed in
[https://github.com/apache/calcite-avatica/commit/eccf6443b105f608a7beaed199f3fdb29c87829c]
Thank you for the contribution, [~chrisdennis]
> TypedValue.toLocal() mishandles OBJECT column types.
> ----------------------------------------------------
>
> Key: CALCITE-6729
> URL: https://issues.apache.org/jira/browse/CALCITE-6729
> Project: Calcite
> Issue Type: Bug
> Components: avatica
> Reporter: Chris Dennis
> Priority: Major
> Labels: pull-request-available
> Fix For: avatica-1.26.0
>
>
> {{TypedValue.toLocal()}} fails for {{Rep.OBJECT}} due to disallowing subtypes
> in the local representation. I believe that the value check for local
> representation should be {{rep.clazz.isInstance(value)}} and not
> {{value.getClass() == rep.clazz}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)