[
https://issues.apache.org/jira/browse/FLINK-15482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rui Li updated FLINK-15482:
---------------------------
Summary: Failed to call Hive functions returning decimal type (was: Hive
functions should use TypeInfoDataTypeConverter to convert data type to type
info)
> Failed to call Hive functions returning decimal type
> ----------------------------------------------------
>
> Key: FLINK-15482
> URL: https://issues.apache.org/jira/browse/FLINK-15482
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Hive
> Reporter: Rui Li
> Priority: Blocker
> Fix For: 1.10.0
>
>
> Calling a Hive function with decimal return type will get:
> {noformat}
> java.lang.ClassCastException: java.math.BigDecimal cannot be cast to
> org.apache.flink.table.dataformat.Decimal
> at ExpressionReducer$5.map(Unknown Source)
> at
> org.apache.flink.table.planner.codegen.ExpressionReducer.reduce(ExpressionReducer.scala:117)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)