Skip to content

docs: document each query context parameter once in the query context reference - #20646

Open
FrankChen021 wants to merge 2 commits into
apache:masterfrom
FrankChen021:codex/query-context-reference-docs
Open

FrankChen021 wants to merge 2 commits into
apache:masterfrom
FrankChen021:codex/query-context-reference-docs

Conversation

@FrankChen021

@FrankChen021 FrankChen021 commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Description

Query context parameters were documented across seven pages, often more than once. This causes two problems:

  1. Hard to find a parameter. Readers have to know which page owns a parameter, or check several pages, to find it.
  2. Complicated documentation generation. When feat!: add typed query context parameters #20198 introduced centralized query context parameters, the generator had to preserve each page's existing layout. Every parameter row on every page needed its own marker, and the generator had to support each page's table format.

This PR documents each parameter once in query-context-reference.md, with its type, default, engines and query types. The scan, search, groupBy, Dart, SQL query context and MSQ reference pages now show a summary table that links to the reference.

Preview

image

Copilot AI balanced review requested due to automatic review settings October 20, 2026 06:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

… reference

Render every public query context parameter once in
query-context-reference.md, and replace the parameter tables in the
scan, search, groupBy, Dart, SQL query context, vectorization and MSQ
reference docs with generated summary tables that link to it.

Documents select parameters with metadata filters in their markers, so
headings and grouping live in the docs rather than in the generator.
Move the vectorization explanation to its own page, and make links in
parameter descriptions work from any docs directory.
@FrankChen021
FrankChen021 force-pushed the codex/query-context-reference-docs branch from 5df1833 to 97e40d3 Compare October 20, 2026 06:34

@FrankChen021 FrankChen021 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

🟡 Changes recommended

Static review covered all 16 changed files in the prepared worktree. The documentation change removes the Join filter section while retaining a misplaced anchor, omits the INSERT/REPLACE statement scope for catalogValidationEnabled, and adds trailing whitespace that fails git diff --check.

Reviewed 16 of 16 changed files; findings in 3 files.

Validation: git diff --check reports trailing whitespace at docs/querying/vectorization.md:35. Maven tests/builds were not run; this was a static review.

Severity Findings
P0 0
P1 0
P2 2
P3 1
Total 3

This is an automated review by Codex GPT-5.6-Luna(max)

After addressing the findings or replying to the comments, you can request another review from me to trigger a new automated review.

Comment thread docs/querying/query-context-reference.md Outdated
Comment thread docs/multi-stage-query/reference.md Outdated
Comment thread docs/querying/vectorization.md Outdated
- Restore a Join filter parameters section in the query context
  reference, with the #join-filter anchor on it
- Declare that catalogValidationEnabled applies to INSERT and REPLACE
- Remove trailing whitespace from vectorization.md

@FrankChen021 FrankChen021 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

🟢 Approval recommended

No actionable issues found in this review. The current head resolves the prior findings, and the full documentation-generator refactor and generated documentation are internally consistent.

Reviewed 16 of 16 changed files.

Validation: git diff --check passed. jq empty website/sidebars.json passed. No builds or tests were run; this was a static review.


This is an automated review by Codex GPT-5.6-Luna(max)

@FrankChen021 FrankChen021 added the Approval Recommended Used when AI completes a review and reports no findings label Oct 20, 2026
@FrankChen021 FrankChen021 added this to the 40.0.0 milestone Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approval Recommended Used when AI completes a review and reports no findings Area - Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants