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

Wrong CharType convertion in type_utils.py

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • API / Python
    • None

    Description

      In types.py: define CharType as SQL CHAR, but SQL CHAR is a Java String instead of Java Character.

      In type_utils.py, 

      org.apache.flink.api.common.typeinfo.Types.CHAR map to DataTypes.CHAR, it is wrong. Types.CHAR is Java Character.

      I suggest that consider removing Char's support first.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lzljs3620320 Jingsong Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: