[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (FLINK-10424) Inconsistency between JsonSchemaConveerter and FlinkTypeFactory

Dominik Wosiński created FLINK-10424:

             Summary: 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

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._

This message was sent by Atlassian JIRA