Skip to content

Document UTF-8 Query API input and native-client fallback - #965

Merged
sdairs merged 2 commits into
codex/focused-842from
codex/focused-833
Sep 17, 2026
Merged

sdairs merged 2 commits into
codex/focused-842from
codex/focused-833

Conversation

@sdairs

@sdairs sdairs commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Reject invalid UTF-8 input with an actionable native-client fallback before any service lookup or query request. Preserve the io error classification, input-conflict behavior, and valid text input. README documents the UTF-8 boundary and a placeholder-only binary/bulk ingestion flow.

Validation

Four invalid-UTF8 subprocess tests cover stdin, stdin-file mode, file input, and structured JSON errors without echoing input. Two adjacent valid-input tests, default clippy, and formatting passed. Native ingestion guidance was checked against the ClickHouse best-practices rule insert-format-native; no batch-size policy was introduced.

Closes #833

Appended to native GitHub stack #876.

Combined local validation

Combined stack head e20d63b3af4c8541a6f597d9494b530f2c56b666 passed all required local checks: formatting, CLI clippy/tests, telemetry-disabled check and all-target clippy, API/analyzer all-target clippy/tests, all-feature workspace build, Python classifier/drift tests, and diff checks.

Test totals: 1991 CLI, 672 API/analyzer, and 93 Python tests (2756 total). Ignored/live tests are excluded from these totals.

Snapshot API access was revalidated successfully on the exact heads of PRs #940 and #944 after the environment feature flag was enabled. Run links and coverage details are recorded in tracker #939.

Stack order, exact heads and explicit issue Development relationships were verified in the implementation tracker.

@sdairs
sdairs added this pull request to stack #876 September 15, 2026 16:12
@sdairs
sdairs marked this pull request as ready for review September 16, 2026 13:14
Carry existing lower-stack README corrections and ancestry forward. The merged tree matches the independently verified cumulative stack result.

@iskakaushik iskakaushik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@sdairs
sdairs merged commit a65a9ca into main Sep 17, 2026
17 checks passed
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.

Document UTF-8 Query API input and native-client fallback

2 participants