[ https://issues.apache.org/jira/browse/CALCITE-6729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Dennis updated CALCITE-6729: ---------------------------------- Summary: TypedValue.toLocal() mishandles OBJECT column types. (was: {{TypedValue.toLocal()}} mishandles OBJECT column types.) > 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 > > {{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)