Skip to content

docs: fix doc-comment typos and mismatches in public headers#15

Draft
smaheshwar-pltr wants to merge 1 commit into
mainfrom
cleanup/header-doc-comments
Draft

docs: fix doc-comment typos and mismatches in public headers#15
smaheshwar-pltr wants to merge 1 commit into
mainfrom
cleanup/header-doc-comments

Conversation

@smaheshwar-pltr

@smaheshwar-pltr smaheshwar-pltr commented Jun 27, 2026

Copy link
Copy Markdown
Owner

What

Fix incorrect or stale Doxygen comments in public headers. Comments only — no code changes.

  • schema.h: typo "canocinal" → "canonical" in FindColumnNameById's \return.
  • file_io.h: the \return docs for WriteFile/DeleteFile/DeleteFiles said "void", but these methods return Status. Reworded to "Status indicating success, or an error if …", matching the existing \return Status indicating … style used elsewhere (e.g. schema.h, catalog.h).
  • partition_spec.h: \param allowMissingFieldsallow_missing_fields to match the Make(...) signature.
  • expression/json_serde_internal.h: OperationTypeFromJson documented a non-existent \param typeStr; corrected to \param json (the actual parameter).

Why

Keep the public API documentation accurate and consistent so generated docs and IDE tooltips match the declarations.

- schema.h: "canocinal" -> "canonical"
- file_io.h: Write/Delete/DeleteFiles \return docs said "void" but these return Status
- partition_spec.h: \param allowMissingFields -> allow_missing_fields
- expression/json_serde_internal.h: \param typeStr -> json (actual parameter)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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