You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rui Li (Jira)" <ji...@apache.org> on 2020/01/06 09:09:00 UTC
[jira] [Updated] (FLINK-15482) Failed to call Hive functions
returning decimal type
[ 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)