flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jingsong Lee (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-12456) Wrong CharType convertion in type_utils.py
Date Thu, 09 May 2019 05:54:00 GMT
Jingsong Lee created FLINK-12456:

             Summary: Wrong CharType convertion in type_utils.py
                 Key: FLINK-12456
                 URL: https://issues.apache.org/jira/browse/FLINK-12456
             Project: Flink
          Issue Type: Bug
            Reporter: Jingsong Lee

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.

This message was sent by Atlassian JIRA

View raw message