You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2020/01/07 11:35:00 UTC
[jira] [Resolved] (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 ]
Jark Wu resolved FLINK-15482.
-----------------------------
Resolution: Fixed
1.11.0: b195383b6b792ea1363ae340ffcfb6ef45c84677
1.10.0: 89aa00c9bbfc4bcab4d453748feccadc2182f7dd
> 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
> Assignee: Rui Li
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)