Skip to content

Conversation

@2010YOUY01
Copy link
Contributor

Which issue does this PR close?

Part of #18095

Rationale for this change

What changes are included in this PR?

In the contributor guide documentation, better explain why large AI-generated PRs without understanding should be rejected. See more in the original issue discussion.

Are these changes tested?

Are there any user-facing changes?

Copy link
Contributor

@adriangb adriangb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally this is great! I think we should get some more feedback but move to merge this quickly and iterate on it if we have to since it's just documentation.

My personal small suggestion would be to prohibit AI generated comments or responses to review. AI generated summaries in the PR description are probably good, humans myself included are pretty lazy about writing detailed descriptions, AI is great at it and it can end up in the commit message as well which is good for browsing git history. Other than that I expect to be conversing with a human when I ask a question. I don't see any scenario where AI generated comments are helpful, other than for translation / language reasons. I don't feel strongly about this, if there's any opposition let's leave it out.

2010YOUY01 and others added 2 commits October 23, 2025 19:29
@2010YOUY01
Copy link
Contributor Author

Generally this is great! I think we should get some more feedback but move to merge this quickly and iterate on it if we have to since it's just documentation.

My personal small suggestion would be to prohibit AI generated comments or responses to review. AI generated summaries in the PR description are probably good, humans myself included are pretty lazy about writing detailed descriptions, AI is great at it and it can end up in the commit message as well which is good for browsing git history. Other than that I expect to be conversing with a human when I ask a question. I don't see any scenario where AI generated comments are helpful, other than for translation / language reasons. I don't feel strongly about this, if there's any opposition let's leave it out.

Thanks for the review!

+1 for no AI responses to review.

However, sometimes I feel AI can't really generate a good PR summary, it's mostly repeating code details, but not to capture the important insights behind it to make the PR more approachable to reviewers. I think it would be an interesting discussion around "How to write a good PR description", like the discussion in #18095

Copy link
Member

@Weijun-H Weijun-H left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! We could ship this fast and iterate it later.


### Better ways to contribute than an “AI dump”

It's recommended to write a high-quality issue with a clear problem statement and a minimal, reproducible example. This can make it easier for others to contribute.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you -- this is great @2010YOUY01

@comphead comphead added this pull request to the merge queue Oct 26, 2025
Merged via the queue into apache:main with commit d072554 Oct 26, 2025
5 checks passed
tobixdev pushed a commit to tobixdev/datafusion that referenced this pull request Nov 2, 2025
## Which issue does this PR close?

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes apache#123` indicates that this PR will close issue apache#123.
-->

Part of apache#18095

## Rationale for this change

<!--
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.
-->

## 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.
-->

In the contributor guide documentation, better explain why large
AI-generated PRs without understanding should be rejected. See more in
the original issue discussion.

## Are these changes tested?

<!--
We typically require tests for all PRs in order to:
1. Prevent the code from being accidentally broken by subsequent changes
2. Serve as another way to document the expected behavior of the code

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->

## Are there any user-facing changes?

<!--
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.
-->

---------

Co-authored-by: Adrian Garcia Badaracco <[email protected]>
Co-authored-by: Alex Huang <[email protected]>
Co-authored-by: Andrew Lamb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants