flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dian Fu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-12456) Wrong CharType convertion in type_utils.py
Date Fri, 24 May 2019 13:23:01 GMT

    [ https://issues.apache.org/jira/browse/FLINK-12456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16847539#comment-16847539
] 

Dian Fu commented on FLINK-12456:
---------------------------------

[~lzljs3620320]  Thanks a lot for reporting this issue. Good catch! This issue should have
been fixed as part of the work FLINK-12408. Could you help to confirm if FLINK-12408 have
solved this issue? If so, I guess we can close this ticket.

> Wrong CharType convertion in type_utils.py
> ------------------------------------------
>
>                 Key: FLINK-12456
>                 URL: https://issues.apache.org/jira/browse/FLINK-12456
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python
>            Reporter: Jingsong Lee
>            Priority: Major
>
> 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)

Mime
View raw message