flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Walther (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3861) Add Scala's BigInteger and BigDecimal to Scala API
Date Tue, 03 May 2016 12:25:12 GMT

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

Timo Walther commented on FLINK-3861:

[~aljoscha] you are a Scala expert. How would you implement this issue?
At the moment Scala's {{.fromElements(BigDecimal("42"))}} returns a GenericType while Java's
{{.fromElements(new BigDecimal("42"))}} returns a BasicType. Do we need additional serializers
for the Scala API?

> Add Scala's BigInteger and BigDecimal to Scala API
> --------------------------------------------------
>                 Key: FLINK-3861
>                 URL: https://issues.apache.org/jira/browse/FLINK-3861
>             Project: Flink
>          Issue Type: New Feature
>          Components: Type Serialization System
>            Reporter: Timo Walther
> In Java we now support {{java.math.BigDecimal/BigInteger}} as basic types. However, Scala
wraps these types into {{scala.math.BigDecimal/BigInteger}}. These classes should also be
supported to be in sync with the Java API.

This message was sent by Atlassian JIRA

View raw message