You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "HeartLinked (via GitHub)" <gi...@apache.org> on 2026/01/23 08:59:17 UTC

[PR] docs: modify contributing guidelines with AI policy [iceberg-cpp]

HeartLinked opened a new pull request, #531:
URL: https://github.com/apache/iceberg-cpp/pull/531

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] docs: modify contributing guidelines with AI policy [iceberg-cpp]

Posted by "wgtmac (via GitHub)" <gi...@apache.org>.
wgtmac closed pull request #531: docs: modify contributing guidelines with AI policy
URL: https://github.com/apache/iceberg-cpp/pull/531


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] docs: modify contributing guidelines with AI policy [iceberg-cpp]

Posted by "wgtmac (via GitHub)" <gi...@apache.org>.
wgtmac commented on code in PR #531:
URL: https://github.com/apache/iceberg-cpp/pull/531#discussion_r2721053776


##########
mkdocs/docs/index.md:
##########
@@ -184,7 +208,3 @@ New to the project? Check out our [good first issues](https://github.com/apache/
 ### Release Process
 
 Releases are managed by the Apache Iceberg project maintainers. For information about the release process, please refer to the main Iceberg project documentation.
-
-## License

Review Comment:
   Why do you remove this? It is an unrelated change.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] docs: modify contributing guidelines with AI policy [iceberg-cpp]

Posted by "zhjwpku (via GitHub)" <gi...@apache.org>.
zhjwpku commented on code in PR #531:
URL: https://github.com/apache/iceberg-cpp/pull/531#discussion_r2721623513


##########
mkdocs/docs/index.md:
##########
@@ -34,7 +34,7 @@ The Iceberg C++ Project is hosted on GitHub at [https://github.com/apache/iceber
 #### Prerequisites
 
 - CMake 3.25 or higher
-- C++23 compliant compiler (GCC 11+, Clang 14+, MSVC 2022+)

Review Comment:
   This seems conflict with #528 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] docs: modify contributing guidelines with AI policy [iceberg-cpp]

Posted by "Fokko (via GitHub)" <gi...@apache.org>.
Fokko commented on PR #531:
URL: https://github.com/apache/iceberg-cpp/pull/531#issuecomment-3797195453

   Hey @HeartLinked Thanks for bringing this up, and I think it would be good to discuss this and set some clear expectation on AI generated contributions. In case you've missed it, there is an excellent thread going on at the [Arrow devlist](https://lists.apache.org/thread/fyn1r3hjd3cs48n2svxg7lj0zps52bvr). I think it would be good to raise a similar discussion on the Iceberg dev-list to form a statement we can share across the different clients (Java, Python, Go, etc).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] docs: modify contributing guidelines with AI policy [iceberg-cpp]

Posted by "zhjwpku (via GitHub)" <gi...@apache.org>.
zhjwpku commented on code in PR #531:
URL: https://github.com/apache/iceberg-cpp/pull/531#discussion_r2721579942


##########
mkdocs/docs/index.md:
##########
@@ -129,6 +129,30 @@ pre-commit install
 
 This will setup a git pre-commit-hook that is executed on each commit and will report the linting problems. To run all hooks on all files use `pre-commit run -a`.
 
+### AI-Assisted Contributions
+
+The Apache Iceberg C++ community has the following policy for AI-assisted PRs:
+
+- The PR author should **understand the core ideas** behind the implementation **end-to-end**, and be able to justify the design and code during review.
+- **Calls out unknowns and assumptions**. It's okay to not fully understand some bits of AI generated code. You should comment on these cases and point them out to reviewers so that they can use their knowledge of the codebase to clear up any concerns. For example, you might comment "calling this function here seems to work but I'm not familiar with how it works internally, I wonder if there's a race condition if it is called concurrently".
+
+#### Why fully AI-generated PRs without understanding are not helpful
+
+Today, AI tools cannot reliably make complex changes to the codebase on their own, which is why we rely on pull requests and code review.
+
+The purposes of code review are:
+
+1. Finish the intended task.
+2. Share knowledge between authors and reviewers, as a long-term investment in the project. For this reason, even if someone familiar with the codebase can finish a task quickly, we're still happy to help a new contributor work on it even if it takes longer.
+
+An AI dump for an issue doesn’t meet these purposes. Maintainers could finish the task faster by using AI directly, and the submitters gain little knowledge if they act only as a pass through AI proxy without understanding.

Review Comment:
   ```suggestion
   An AI dump for an issue doesn't meet these purposes. Maintainers could finish the task faster by using AI directly, and the submitters gain little knowledge if they act only as a pass through AI proxy without understanding.
   ```
   
   Should we stick to `'` since it's a plain ASCII? 
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] docs: modify contributing guidelines with AI policy [iceberg-cpp]

Posted by "zhjwpku (via GitHub)" <gi...@apache.org>.
zhjwpku commented on code in PR #531:
URL: https://github.com/apache/iceberg-cpp/pull/531#discussion_r2721617526


##########
mkdocs/docs/index.md:
##########
@@ -129,6 +129,30 @@ pre-commit install
 
 This will setup a git pre-commit-hook that is executed on each commit and will report the linting problems. To run all hooks on all files use `pre-commit run -a`.
 
+### AI-Assisted Contributions
+
+The Apache Iceberg C++ community has the following policy for AI-assisted PRs:
+
+- The PR author should **understand the core ideas** behind the implementation **end-to-end**, and be able to justify the design and code during review.
+- **Calls out unknowns and assumptions**. It's okay to not fully understand some bits of AI generated code. You should comment on these cases and point them out to reviewers so that they can use their knowledge of the codebase to clear up any concerns. For example, you might comment "calling this function here seems to work but I'm not familiar with how it works internally, I wonder if there's a race condition if it is called concurrently".
+
+#### Why fully AI-generated PRs without understanding are not helpful
+
+Today, AI tools cannot reliably make complex changes to the codebase on their own, which is why we rely on pull requests and code review.
+
+The purposes of code review are:
+
+1. Finish the intended task.
+2. Share knowledge between authors and reviewers, as a long-term investment in the project. For this reason, even if someone familiar with the codebase can finish a task quickly, we're still happy to help a new contributor work on it even if it takes longer.
+
+An AI dump for an issue doesn’t meet these purposes. Maintainers could finish the task faster by using AI directly, and the submitters gain little knowledge if they act only as a pass through AI proxy without understanding.
+
+Please understand the reviewing capacity is **very limited** for the project, so large PRs which appear to not have the requisite understanding might not get reviewed, and eventually closed or redirected.
+
+#### Better ways to contribute than an “AI dump”

Review Comment:
   ```suggestion
   #### Better ways to contribute than an "AI dump"
   ```
   Same question here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] docs: modify contributing guidelines with AI policy [iceberg-cpp]

Posted by "zhjwpku (via GitHub)" <gi...@apache.org>.
zhjwpku commented on PR #531:
URL: https://github.com/apache/iceberg-cpp/pull/531#issuecomment-3797644548

   > Hey @HeartLinked Thanks for bringing this up, and I think it would be good to discuss this and set some clear expectation on AI generated contributions. In case you've missed it, there is an excellent thread going on at the [Arrow devlist](https://lists.apache.org/thread/fyn1r3hjd3cs48n2svxg7lj0zps52bvr). I think it would be good to raise a similar discussion on the Iceberg dev-list to form a statement we can share across the different clients (Java, Python, Go, etc).
   
   Hi @Fokko, we had an off-list discussion that this might be worth discussing further, and we felt it would be worthwhile to raise this topic more broadly within the Iceberg community. I will send an email to dev-list later today.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org