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

Jark Wu commented on FLINK-19419:
---------------------------------

[~caozhen1937], we HAVE TO use an specific string literal to represent 
{{null}}, this is controlled by {{null-string-literal}}. If users define 
"null-string-literal=null", that means users are aware of it, then we have to 
return {{null}} instead of {{"null"}} string when reading a "null" string. If 
users want to keep the "null" string, he/she can change the config of 
{{null-string-literal=null}}.

> "null-string-literal" does not work  in HBaseSource decoder 
> ------------------------------------------------------------
>
>                 Key: FLINK-19419
>                 URL: https://issues.apache.org/jira/browse/FLINK-19419
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / HBase
>    Affects Versions: 1.11.0, 1.11.1, 1.11.2
>            Reporter: CaoZhen
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: image-2020-09-25-21-11-36-418.png
>
>
>  
> When using HBaseSoucre, it is found that "null-string-literal" does not work.
> The current decoder processing logic is shown below.
> `nullStringBytes` should be used when the `value` is null.
>  
> !image-2020-09-25-21-11-36-418.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to