Skip to content

Add optional CSV header suppression - #102

Merged
apstndb merged 3 commits into
mainfrom
feat/csv-no-header
Sep 22, 2026
Merged

apstndb merged 3 commits into
mainfrom
feat/csv-no-header

Conversation

@apstndb

@apstndb apstndb commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

Add --no-csv-header for experimental CSV output. Column names remain enabled by default; opting out emits only rows, and zero-row or redacted results produce no primary bytes while still consuming the query and publishing a requested plan.

Streaming reads and committed DML use the same writer setting. Invalid combinations with non-CSV formats, partitionability checks, or discarded primary output fail before outputs or clients are opened.

Addresses item B of #41; the remaining enhancements in that issue are outside this PR.

Builds on the merged #101 and targets main. The diff contains only header suppression.

Validation: Go 1.25.13 go build ./..., go test ./... including the Docker emulator, and golangci-lint v2.12.2 all passed. Transport coverage includes SELECT and DML, combined value formatting, empty/redacted results, and split-plan publication without a header. Existing CSV goldens are unchanged.

@apstndb
apstndb changed the base branch from feat/csv-value-format to main September 22, 2026 18:42
@apstndb
apstndb merged commit b1cd728 into main Sep 22, 2026
2 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.

1 participant