[
https://issues.apache.org/jira/browse/FLINK-17437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17335406#comment-17335406
]
godfrey he commented on FLINK-17437:
------------------------------------
cc [~lzljs3620320]
> Use StringData instead of BinaryStringData in code generation
> -------------------------------------------------------------
>
> Key: FLINK-17437
> URL: https://issues.apache.org/jira/browse/FLINK-17437
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Runtime
> Reporter: Jark Wu
> Priority: Major
> Labels: stale-major
>
> In FLINK-16996, we force to use {{BinaryStringData}} instead of
> {{StringData}} in code generation. We hard cast StringData to
> BinaryStringData when {{RowData#getString}}. The motivation behind this is
> that this makes the code generator easily to generate opeartions based on
> string. There are too many invokings on the {{BinaryStringData}} now, if we
> use {{StringData}} in code generation, we have to refactor a lot of codes.
> However, this may be worth to do. Because using the public interface
> {{StringData}} is more straightforword.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)