Skip to content

Conversation

@rolandwalker
Copy link
Contributor

Description

After dbcli/cli_helpers#100 we can use the new convert_to_undecoded_string preprocessor to guarantee that binary values are rendered as hex literals.

It would be neat if in a future PR we added an option to never render binaries as hex literals (but just emit their contents).

The align_decimals preprocessor would seem to have no effect and should be removed in a separate commit.

The bugfix here is covered under the existing changelog entry.

Fixes #1010 .

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).
  • I ran uv run ruff check && uv run ruff format && uv run mypy --install-types . to lint and format the code.

After dbcli/cli_helpers#100 we can use the new
convert_to_undecoded_string preprocessor to guarantee that binary values
are rendered as hex literals.

It would be neat if in a future PR we added an option to _never_ render
binaries as hex literals (but just emit their contents).

The align_decimals preprocessor would seem to have no effect and should
be removed in a separate commit.

The bugfix here is covered under the existing changelog entry.
@rolandwalker rolandwalker self-assigned this Jan 26, 2026
Copy link
Contributor

@scottnemes scottnemes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still can't repro, but everything seems to work fine so looks good to me!

@rolandwalker rolandwalker merged commit 115d6d4 into main Jan 27, 2026
8 checks passed
@rolandwalker rolandwalker deleted the RW/better-binary-value-handling-2 branch January 27, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Encoding issue with some UUIDs

3 participants