You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "sunjincheng (JIRA)" <ji...@apache.org> on 2019/05/09 06:28:00 UTC
[jira] [Commented] (FLINK-12456) Wrong CharType convertion in
type_utils.py
[ https://issues.apache.org/jira/browse/FLINK-12456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16836120#comment-16836120 ]
sunjincheng commented on FLINK-12456:
-------------------------------------
Thanks for mention this issue. [~lzljs3620320]
This will be fixed in https://issues.apache.org/jira/browse/FLINK-12408.
> 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)