LuciferYang opened a new issue, #9770:
URL: https://github.com/apache/paimon/issues/9770

   ### Bug description
   
   `StringUtils.toLowerCaseIfNeed` / `toLowerCase` / `toUpperCase` (paimon-api) 
convert with the JVM default locale. With `case-sensitive = false`, identifier 
matching for CDC table mapping, computed columns, and the Arrow readers routes 
through these methods — under a Turkish or Azeri default locale, `'I'` 
lowercases to a dotless glyph (`ı`) and `'i'` uppercases to a dotted capital 
(`İ`), silently breaking the match for columns containing `I`/`i` (e.g. a 
source column `INDEX` no longer maps to schema field `index`).
   
   `CdcRecord.fieldNameLowerCase` — the record-side half of the same join — has 
the same default-locale conversion.
   
   ### Expected behavior
   
   Identifier matching must not depend on the JVM default locale: convert with 
`Locale.ROOT`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to