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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)