arrow-julia icon indicating copy to clipboard operation
arrow-julia copied to clipboard

migrate ArrowTypes code that depends on Sockets and UUIDs to extensions

Open baumgold opened this issue 1 year ago • 5 comments

Also add support for Sockets.InetAddr

baumgold avatar Feb 08 '24 15:02 baumgold

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ac199b0) 87.34% compared to head (57eb717) 87.24%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #500      +/-   ##
==========================================
- Coverage   87.34%   87.24%   -0.11%     
==========================================
  Files          26       28       +2     
  Lines        3288     3276      -12     
==========================================
- Hits         2872     2858      -14     
- Misses        416      418       +2     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Feb 08 '24 15:02 codecov-commenter

What happens if a table was serialized with one of these objects, but now you're loading it in a session in which e.g. UUIDs isn't loaded? I think this is probably breaking, unfortunately, since before you'd get back UUID types, whereas now you have to change your code to load UUIDs to get it.

ericphanson avatar Feb 08 '24 19:02 ericphanson

What happens if a table was serialized with one of these objects, but now you're loading it in a session in which e.g. UUIDs isn't loaded? I think this is probably breaking, unfortunately, since before you'd get back UUID types, whereas now you have to change your code to load UUIDs to get it.

That's a valid point, thanks for bringing it up. Do you think it's worth continuing with this change but bump major rather than minor? Or should we abandon this change for now?

baumgold avatar Feb 08 '24 22:02 baumgold

These are pretty light packages, and are in the sysimage anyway until v1.11, so to me it doesn’t feel worth all the compat bumps it will cause. I think it’s worth waiting until there’s other reasons for a breaking change, or some big reason why having them is causing problems.

ericphanson avatar Feb 08 '24 23:02 ericphanson

Sounds good. I'll put this PR on hold for now. Thanks for the feedback.

baumgold avatar Feb 09 '24 02:02 baumgold