Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8F3D52009A0 for ; Tue, 3 May 2016 14:25:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8D4AE1609F3; Tue, 3 May 2016 14:25:14 +0200 (CEST) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0B8DB1609F5 for ; Tue, 3 May 2016 14:25:13 +0200 (CEST) Received: (qmail 93084 invoked by uid 500); 3 May 2016 12:25:13 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 93060 invoked by uid 99); 3 May 2016 12:25:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2016 12:25:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E68DD2C1F60 for ; Tue, 3 May 2016 12:25:12 +0000 (UTC) Date: Tue, 3 May 2016 12:25:12 +0000 (UTC) From: "Timo Walther (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-3861) Add Scala's BigInteger and BigDecimal to Scala API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 03 May 2016 12:25:14 -0000 [ 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 (v6.3.4#6332)