Skip to content

feat: support binary format.#772

Draft
youngsofun wants to merge 1 commit intodatabendlabs:mainfrom
youngsofun:feat/binary_format
Draft

feat: support binary format.#772
youngsofun wants to merge 1 commit intodatabendlabs:mainfrom
youngsofun:feat/binary_format

Conversation

@youngsofun
Copy link
Copy Markdown
Member

No description provided.

@youngsofun youngsofun changed the title Feat/binary format feat:support binary format. Apr 29, 2026
@youngsofun youngsofun changed the title feat:support binary format. feat: support binary format. Apr 29, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: df8dc91cdb

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

let mut index = 0;
while index < buffer.len() {
match buffer[index] {
b',' | b']' | b')' | b'}' | b' ' | b'\t' | b'\r' | b'\n' => break,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Stop binary token parsing at map key separator

When binary_output_format is base64 or utf-8, collect_binary_token is used for nested Binary values, but its delimiter list does not include :. In read_map, keys are parsed first and then a colon is expected; with input like {eHl6:1} the key parser will consume past : into the value, which then triggers a decode error or a later must_ignore_byte(':') failure. This breaks decoding for Map<Binary, ...> values in JSON results when keys are unquoted.

Useful? React with 👍 / 👎.

@youngsofun youngsofun marked this pull request as draft April 29, 2026 08:35
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.

1 participant