[ 
https://issues.apache.org/jira/browse/FLINK-10014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17336602#comment-17336602
 ] 

Flink Jira Bot commented on FLINK-10014:
----------------------------------------

This issue was labeled "stale-major" 7 ago and has not received any updates so 
it is being deprioritized. If this ticket is actually Major, please raise the 
priority and ask a committer to assign you the issue or revive the public 
discussion.


> Fix the decimal literal parameter problem for arithmetic functions in Table
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-10014
>                 URL: https://issues.apache.org/jira/browse/FLINK-10014
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / API
>            Reporter: Xingcan Cui
>            Priority: Major
>              Labels: stale-major
>
> Most of the arithmetic functions added in Flink only consider double type 
> parameters (e.g., def log(base: Double, x: Double): Double =...). However, by 
> Calcite, the decimal literals are automatically cast to BigDecimal, which 
> cannot be directly applied (e.g., LOG(3.0, 9.0) throws an unsupported call 
> exception). Explicit type cast can make these functions accessible but seems 
> not an elegant solution.
> We could consider automatically casting the BigDecimal type to Double or 
> adding the corresponding methods for BigDecimal type.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to