Skip to content

Conversation

@SolariSystems
Copy link
Contributor

Which issue does this PR close?

Closes #11700

Rationale for this change

The documentation for the PartitionEvaluator trait contains two typos that could confuse readers.

What changes are included in this PR?

  1. Line 178: Removed extraneous 'x' character from the evaluate method documentation

    • Changed partition.x to partition.
  2. Line 213: Corrected the RANK example to show proper SQL RANK behavior

    • Ties should have the same rank value, not sequential values
    • Changed D | 5 to D | 4

Are these changes tested?

Documentation-only change - no code affected.

Are there any user-facing changes?

No, documentation only.

Fixes two documentation issues in partition_evaluator.rs:

1. Remove extraneous 'x' character from evaluate method doc comment
   - "partition.x" → "partition."

2. Correct RANK example to show proper SQL RANK behavior
   - Ties should have the same rank value
   - "D | 5" → "D | 4"

Closes apache#11700
@github-actions github-actions bot added the logical-expr Logical plan and expressions label Jan 4, 2026
@Jefffrey Jefffrey added this pull request to the merge queue Jan 4, 2026
Merged via the queue into apache:main with commit 955fd41 Jan 4, 2026
32 checks passed
@Jefffrey
Copy link
Contributor

Jefffrey commented Jan 4, 2026

Thanks @SolariSystems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

logical-expr Logical plan and expressions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typo in evaluate_all_with_rank documentation?

2 participants