You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/26 12:55:00 UTC

[jira] [Commented] (FLINK-9557) Parse 'integer' type as BigDecimal

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

ASF GitHub Bot commented on FLINK-9557:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/6153


> Parse 'integer' type as BigDecimal
> ----------------------------------
>
>                 Key: FLINK-9557
>                 URL: https://issues.apache.org/jira/browse/FLINK-9557
>             Project: Flink
>          Issue Type: New Feature
>    Affects Versions: 1.5.0
>            Reporter: Dominik Wosiński
>            Assignee: Timo Walther
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.6.0
>
>
> Currently,
> {code:java}
> FlinkTypeFactory.typeInfoToSqlTypeName(typeInfo: TypeInformation[_]) {code}
> does not support _BigInteger_, and since this is default type returned by
> {code:java}
> JsonSchemaConverter.convert(String schema){code}
> for all fields with type: _integer_ this can be problematic for anyone who wants to force values to be of type Integer or Long. 
> In 1.5.0 it is possible to register stream with _BigInteger_ as a type, but using this field in __SELECT query will cause it to fail due to problem above.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)