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

[jira] [Resolved] (FLINK-9557) FlinkTypeFactory should support BigInteger type

     [ https://issues.apache.org/jira/browse/FLINK-9557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Walther resolved FLINK-9557.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0

Fixed in 1.6.0: 25fbcf8cf42935cd433d5555042f62a911dcad79

> FlinkTypeFactory should support BigInteger type
> -----------------------------------------------
>
>                 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)