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

Dominik Wosiński updated FLINK-10424:
-------------------------------------
    Description: 
There is still an inconsistency between _JsonSchemaConverter_ and 
_FlinkTypeFactory_ in case of using JsonSchema with _integer_ type field. 
_JsonSchemaConverter_ will return BigInteger Type Information for _integer_, 
but _FlinkTypeFactory_ currently does not support BigInteger Type Info and thus 
an exception will be thrown. 

 

  was:
There is still an inconsistency between _JsonSchemaConverter_ and 
_FlinkTypeFactory_ in case of using JsonSchema with _integer_ type field. 
_JsonSchemaConverter_ will return BigInteger Type Information for _integer_, 
but _FlinkTypeFactory_ currently does not support BigInteger Type Info and thus 
an exception will be thrown. 

Two possible ways of solving this issue are possible:
  - allow using _BigInteger_ Type Info in _FlinkTypeFactory_

  _-_ change _JsonSchemaConverter,_ so it returns Integer Type Info instead.


IMHO, the changes should be made in _FlinkTypeFactory._


> Inconsistency between JsonSchemaConveerter and FlinkTypeFactory
> ---------------------------------------------------------------
>
>                 Key: FLINK-10424
>                 URL: https://issues.apache.org/jira/browse/FLINK-10424
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Dominik Wosiński
>            Assignee: Dominik Wosiński
>            Priority: Major
>
> There is still an inconsistency between _JsonSchemaConverter_ and 
> _FlinkTypeFactory_ in case of using JsonSchema with _integer_ type field. 
> _JsonSchemaConverter_ will return BigInteger Type Information for _integer_, 
> but _FlinkTypeFactory_ currently does not support BigInteger Type Info and 
> thus an exception will be thrown. 
>  



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

Reply via email to