Bug Fixes
- [jdbc-v2] Fixed
ResultSet#getString(...)andResultSet#getObject(...)(when returning aString) returning trailing\0padding and incomplete trailing UTF-8 multi-byte sequences (U+FFFD) forFixedString(N)columns. Values are now cut after the last valid UTF-8 character (for example,toFixedString('Dario', 10)is returned as"Dario"instead of"Dario\0\0\0\0\0", andtoFixedString(left('José', 4), 4)as"Jos"). This resolves issues in tools such as Tableau 2026.3 that display the trailing zero bytes.- Applies to top-level
FixedStringcolumns (FixedString,Nullable(FixedString),LowCardinality(FixedString), andSimpleAggregateFunction(..., FixedString)), with or withoutbinary_string_support. - Trailing spaces and any
\0orU+FFFDcharacters inside the value are preserved (note that a literalU+FFFDat the end of aFixedStringvalue is also trimmed). Stringcolumns,FixedStringvalues nested insideArray/Tuple/Map/Variant/Dynamic,FORMAT JSONEachRowresults, andgetNString/getNCharacterStream/getUnicodeStreamare unchanged.- Binary accessors (
getBytes(...),getBinaryStream(...),getObject(..., byte[].class)) are unchanged and still return allNraw bytes. - (#3288, #3427)
- Applies to top-level