You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Jingsong Lee (JIRA)" <ji...@apache.org> on 2019/05/09 05:54:00 UTC

[jira] [Created] (FLINK-12456) Wrong CharType convertion in type_utils.py

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
(v7.6.3#76005)