You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[jdbc-v2] Option to trim trailing NULs from FixedString on read #3288
getString() / getObject() on a FixedString(N) column return all N bytes, trailing \0 included (BinaryStreamReader decodes new String(bytes, 0, precision)).
That matches ClickHouse semantics. But Tableau 2026.3.0 no longer hides the NULs (2026.2.1 did), so Tableau users see "Dario Medina\0\0\0…". The Tableau connector can't trim on its side, and output_format_trim_fixed_string only applies to text formats, not RowBinary.
Ask: an opt-in connection property (e.g. jdbc_trim_fixed_string=true) that strips trailing \0 from FixedString on read. Off by default; the Tableau connector would enable it.
@polyglotAI-bot please implement the fix: by default we need to cut by last valid UTF8 letter. Fix should be done only in jdbc-v2 project. Fix should only touch getString and getObject when string is requested. Note that this should be only for FixedString columns - other strings should stay as is (current behavior is made by FixedString itself, not a bug)
Activity
chernser commentedon Nov 25, 2026
@polyglotAI-bot please implement the fix: by default we need to cut by last valid UTF8 letter. Fix should be done only in jdbc-v2 project. Fix should only touch getString and getObject when string is requested. Note that this should be only for FixedString columns - other strings should stay as is (current behavior is made by FixedString itself, not a bug)