Skip to content

fix: report sort preserving merge cardinality effect - #18

Merged
waynexia merged 1 commit into
GreptimeTeam:greptimedb-53.1.0-function-signature-exec-errorfrom
discord9:fix/spm-cardinality-effect-greptimedb-53
Jul 17, 2026
Merged

fix: report sort preserving merge cardinality effect#18
waynexia merged 1 commit into
GreptimeTeam:greptimedb-53.1.0-function-signature-exec-errorfrom
discord9:fix/spm-cardinality-effect-greptimedb-53

Conversation

@discord9

Copy link
Copy Markdown

Summary

  • Report CardinalityEffect::Equal for SortPreservingMergeExec without fetch
  • Report CardinalityEffect::LowerEqual when fetch is present
  • Keep cardinality metadata consistent with SortExec and the fetch-aware statistics added in fix: cap sort preserving merge statistics by fetch #13

Testing

Not run locally per request; relying on CI for this small metadata-only change.

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.

2 participants