flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timo Walther <twal...@apache.org>
Subject Re: Add BigDecimal and BigInteger as types
Date Thu, 19 Nov 2015 13:30:56 GMT
I could image that some applications also want to group or join by a 
BigInteger or sort by BigDecimal. All DBMS support this types by default.
I'm not from the industry but there is a need for that I think.

On 18.11.2015 18:21, Stephan Ewen wrote:
> I agree that they are important.
>
> They are currently generic types and handled by Kryo, which has (AFAIK)
> proper serializers for them. Are there more benefits of native support
> (other than more compact serialization) that you are thinking of?
>
> On Wed, Nov 18, 2015 at 5:55 PM, Timo Walther <twalthr@apache.org> wrote:
>
>> Hey everyone,
>>
>> I'm not sure if we already had a discussion about it but as we are
>> currently adding new types like the Either type, I would like to discuss it
>> again. I think especially for business or scientific applications it makes
>> sense to support the BigInteger and BigDecimal types natively. In my
>> opinion they are as important as Date or Void and should be added as
>> BasicTypes. I need them for the SQL prototype (FLINK-2099) but I think
>> people working with the Table API or Java/Scala API would also benefit from
>> it.
>>
>> What do you think?
>>
>> Regards,
>> Timo
>>


Mime
View raw message