[
https://issues.apache.org/jira/browse/HUDI-9543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17985048#comment-17985048
]
Y Ethan Guo commented on HUDI-9543:
-----------------------------------
Looks good to me.
`SecondaryIndexKeyUtils#getSecondaryIndexKeySeparatorPosition` should also be
revised to make sure it accounts for the new escapes.
> Secondary index does not handle null char properly
> --------------------------------------------------
>
> Key: HUDI-9543
> URL: https://issues.apache.org/jira/browse/HUDI-9543
> Project: Apache Hudi
> Issue Type: Bug
> Components: index
> Affects Versions: 1.1.0
> Reporter: Davis Zhang
> Assignee: Davis Zhang
> Priority: Critical
>
> If secondary key column contains null, the SI does not track those records.
>
> Plan: Escape some char and use the unescaped version as the note for null str
> Use Null character (ASCII 0) to represent null
> for normal string, escape Null character (ASCII 0) to '\' + Null character
> (ASCII 0)
> Make sure reader and writer path works for this
--
This message was sent by Atlassian Jira
(v8.20.10#820010)