You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "avasis-ai (via GitHub)" <gi...@apache.org> on 2026/04/19 16:23:42 UTC

[PR] docs: add safety warning to Array.from_buffers docstring [arrow]

avasis-ai opened a new pull request, #49799:
URL: https://github.com/apache/arrow/pull/49799

   ## Summary
   
   Adds a `.. warning::` directive to the `Array.from_buffers` docstring to explicitly inform callers that they are responsible for passing valid Arrow data matching the given type, and that passing invalid data may lead to crashes or undefined behavior.
   
   This addresses the concern raised in the issue that users may not be aware of the safety implications of using this low-level API.
   
   Closes #49717


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [PR] docs: add safety warning to Array.from_buffers docstring [arrow]

Posted by "AlenkaF (via GitHub)" <gi...@apache.org>.
AlenkaF closed pull request #49799: docs: add safety warning to Array.from_buffers docstring
URL: https://github.com/apache/arrow/pull/49799


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [PR] docs: add safety warning to Array.from_buffers docstring [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #49799:
URL: https://github.com/apache/arrow/pull/49799#issuecomment-4276322624

   <!--
     Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
     distributed with this work for additional information
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
     with the License.  You may obtain a copy of the License at
   
       http://www.apache.org/licenses/LICENSE-2.0
   
     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.
   -->
   
   Thanks for opening a pull request!
   
   If this is not a [minor PR](https://github.com/apache/arrow/blob/main/CONTRIBUTING.md#Minor-Fixes). Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose
   
   Opening GitHub issues ahead of time contributes to the [Openness](http://theapacheway.com/open/#:~:text=Openness%20allows%20new%20users%20the,must%20happen%20in%20the%20open.) of the Apache Arrow project.
   
   Then could you also rename the pull request title in the following format?
   
       GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}
   
   or
   
       MINOR: [${COMPONENT}] ${SUMMARY}
   
   See also:
   
     * [Other pull requests](https://github.com/apache/arrow/pulls/)
     * [Contribution Guidelines - Contributing Overview](https://arrow.apache.org/docs/developers/overview.html)
   


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [PR] docs: add safety warning to Array.from_buffers docstring [arrow]

Posted by "AlenkaF (via GitHub)" <gi...@apache.org>.
AlenkaF commented on PR #49799:
URL: https://github.com/apache/arrow/pull/49799#issuecomment-4294663515

   Avasis.ai creates agents designed to open PRs in OS repositories. In order to save maintainers time I will close this.
   In case I am wrong and the collaboration will not be us talking to an agent, feel free to re-open a PR and re-read the connected issue as I do not thing the agent fully captured what needs to be done.


-- 
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: github-unsubscribe@arrow.apache.org

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