Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9557

Parse 'integer' type as BigDecimal

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • None

    Description

      Currently,

      FlinkTypeFactory.typeInfoToSqlTypeName(typeInfo: TypeInformation[_]) 

      does not support BigInteger, and since this is default type returned by

      JsonSchemaConverter.convert(String schema)

      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.

       

      Attachments

        Issue Links

          Activity

            People

              twalthr Timo Walther
              Wosinsan Dominik Wosiński
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: