You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/07 10:24:42 UTC

[GitHub] [arrow] milesgranger commented on pull request #14326: ARROW-14596: [C++][Python] Read table nested struct fields in columns

milesgranger commented on PR #14326:
URL: https://github.com/apache/arrow/pull/14326#issuecomment-1271411341

   I generally agree with the first two points, although I do like the explicitness of a leading dot.
   
   The third point, it could be a potentially buggy convenience add on. ie.
   ```python
   pa.table({"a.dotted.field": [1], "nested": [{"field": "value"]})
   (..., columns=["a.dotted.field", "nested.field"])
   ```
   vs explicitly mapping maybe?
   ```python
   (..., columns=[{"my_dotted_field": "a.dotted.field", "nested_field": "nested.field"}])
   ```


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