You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2023/03/28 08:52:41 UTC

[GitHub] [arrow] jorisvandenbossche commented on pull request #34658: GH-21761: [Python] accept pyarrow values / scalars in constructor functions ?

jorisvandenbossche commented on PR #34658:
URL: https://github.com/apache/arrow/pull/34658#issuecomment-1486466657

   This seems to work? 
   It won't work for generators of pyarrow scalars (because they will already be consumed the first time we call `_sequence_to_array`. I am not sure we have to worry about that case (since this PR just adding some extra convenience anyway). But we should maybe at least test those cases to ensure it errors (and eg not silently return an empty array)


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