thisisnic commented on PR #45818:
URL: https://github.com/apache/arrow/pull/45818#issuecomment-2815412835

   I'm a bit stuck as to how we can have StructScalar objects do all of:
   * implement Mapping
   * implement Sequences
   * implement unpacking
   
   From what I've read, to implement unpacking, we need the `__iter__()` method 
for `StructScalar` to yield values not keys, but then if we do this, we break 
some of our existing tests like `list(s) == ['x', 'y']`.  I just want to check 
that this breaking change is desirable?
   
   


-- 
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-unsubscr...@arrow.apache.org

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

Reply via email to