Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Refs #6979. This advances the remaining operator-registry migration for
Limit; it does not finish the epic.Rationale for this change
create_planstill contains a large monolithic match. Moving one operator family at a time keeps the registry migration reviewable and reduces conflicts inplanner.rs.What changes are included in this PR?
LimitBuilderand registersOperatorType::Limit.Limitarm intoplanner/limit.rswithout changing its validation, local/global limit selection, fetch calculation, or plan tree construction.LocalLimitExecimport fromplanner.rs.How are these changes tested?
cargo fmt --manifest-path native/Cargo.toml -p datafusion-comet -- --check: passed.cargo check --manifest-path native/Cargo.toml -p datafusion-comet --tests: passed.cargo test --manifest-path native/Cargo.toml -p datafusion-comet --lib: 1092 passed, 0 failed, 5 ignored. The test UDF library was built first as required by the repository tests.git diff --check: passed.Spark SQL and JVM integration suites were not run locally. This is a behavior-preserving move, but Spark coverage remains for CI and human review.
AI disclosure: AI-assisted implementation by an autonomous coding agent. The diff and test results were reviewed before opening this Draft PR. A human committer must review and approve it.