flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jark Wu (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (FLINK-15482) Failed to call Hive functions returning decimal type
Date Tue, 07 Jan 2020 11:35:00 GMT

     [ 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)

Mime
View raw message