Skip to content

Add reusable RowBinary schemas - #407

Open
ruslandoga wants to merge 1 commit into
masterfrom
rd/row-binary-encoder-builder
Open

Add reusable RowBinary schemas#407
ruslandoga wants to merge 1 commit into
masterfrom
rd/row-binary-encoder-builder

Conversation

@ruslandoga

Copy link
Copy Markdown
Collaborator

Adds Ch.RowBinary.schema/1 to validate and normalize type strings or atoms once while caching an optional names-and-types header. Adds schema-first encode_row/2, encode_rows/2, and encode_names_and_types/1 APIs while preserving existing one-shot encoders. Updates the README, query guide, and changelog, with tests covering encoding parity and validation errors.

Tests: MIX_ENV=test mix test (481 passed, including 173 doctests and 40 properties).
Docs: mix docs.

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