-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Docs: Update PR template to ask for user-visible rationale #24053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -11,12 +11,19 @@ We generally require a GitHub issue to be filed for all bug fixes and enhancemen | |||||||||||||||||||||||||||||||||||
| <!-- | ||||||||||||||||||||||||||||||||||||
| Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed. | ||||||||||||||||||||||||||||||||||||
| Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes. | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| Please explain the problem you are trying to solve in terms of the user-visible | ||||||||||||||||||||||||||||||||||||
| behavior, rather than the implementation. | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| For example, "The code in `foo.rs` doesn't handle nulls" is a symptom of the | ||||||||||||||||||||||||||||||||||||
| implementation. "COUNT(DISTINCT) returns wrong results when the column contains | ||||||||||||||||||||||||||||||||||||
| nulls" is the user-visible problem. | ||||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
I think we have very similar ideas, but I tried to explain in more detail. It may be a bit verbose, so perhaps we can make it more concise. 🤔 WDYT?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is a bit too verbose for every PR -- how about we add this backstory / content to https://datafusion.apache.org/contributor-guide/index.html#creating-pull-requests and then add a link to that section here?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sounds good! |
||||||||||||||||||||||||||||||||||||
| --> | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| ## What changes are included in this PR? | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| <!-- | ||||||||||||||||||||||||||||||||||||
| There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR. | ||||||||||||||||||||||||||||||||||||
| There is no need to duplicate the description in the issue here, but it is sometimes worth providing a summary of the individual changes in this PR. | ||||||||||||||||||||||||||||||||||||
| --> | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| ## Are these changes tested? | ||||||||||||||||||||||||||||||||||||
|
|
@@ -33,8 +40,6 @@ If tests are not included in your PR, please explain why (for example, are they | |||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| <!-- | ||||||||||||||||||||||||||||||||||||
| If there are user-facing changes then we may require documentation to be updated before approving the PR. | ||||||||||||||||||||||||||||||||||||
| --> | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| <!-- | ||||||||||||||||||||||||||||||||||||
| If there are any breaking changes to public APIs, please add the `api change` label. | ||||||||||||||||||||||||||||||||||||
| --> | ||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drive by fix