feat: add review-datafusion-pr Claude Code skill#3974
Open
andygrove wants to merge 3 commits intoapache:mainfrom
Open
feat: add review-datafusion-pr Claude Code skill#3974andygrove wants to merge 3 commits intoapache:mainfrom
andygrove wants to merge 3 commits intoapache:mainfrom
Conversation
Contributor
|
Would the DataFusion repo be a better place for this? (I've no objection to having it in the Comet repo too). |
Member
Author
It's a question worth discussing. The skill is reviewing specifically for any impact on the Comet project. |
Contributor
My point exactly. DF reviewers may not always remember to consider impact on Comet and this would certainly be a useful for them and invaluable for us. |
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?
Closes #.
Rationale for this change
We already have a
review-comet-prskill that helps reviewers check PRs in this repo for Spark compatibility and implementation correctness. A similar workflow applies when reviewing PRs in the upstreamapache/datafusionrepository, particularly for thedatafusion-sparkcompatible function library and for core DataFusion changes that may affect Comet.The upstream repo has a different test approach. It uses
.slt(sqllogictest) files written in DataFusion SQL syntax, so the tests cannot be run directly in Spark. A reviewer needs to manually run equivalent queries in Spark to verify that the DataFusion implementation produces the same result.This skill packages that workflow so it is consistent across reviews and so new reviewers have a concrete checklist to follow.
What changes are included in this PR?
Adds a new Claude Code skill at
.claude/skills/review-datafusion-pr/SKILL.md. The skill covers:datafusion/spark/src/function/.slttest file against the testing guide indatafusion/sqllogictest/test_files/spark/README.md.slttests cannot prove Spark equivalence on their owndatafusion,datafusion-datasource,datafusion-physical-expr-adapter,datafusion-spark)How are these changes tested?
Manual review of the skill content. The skill is guidance for human reviewers and is not executed by CI.