rtyler
05/11/2023, 5:01 PMDecoder
is removed.
I have a follow up change to make both those upgrades possibleDecoder
was deprecated, and then replaced with a different API in 38 that isn't deprecated anymore.
arrow is wacky y'allWill Jones
05/12/2023, 4:11 PMrtyler
05/12/2023, 4:15 PMDecoder
takes a defined batch_size
Will Jones
05/12/2023, 4:23 PMjsons
is an iterator, right? so you could use Itertools::chunks()
on it do handle batch size maybe? Unless you just found a better wayrtyler
05/12/2023, 4:25 PMwith_batch_size
would do with serialize
since it's not clear what would happen if jsons
still has elements but the batch size has been met.
I think chunking jsons
is a reasonable approach to keep these batches smallishWill Jones
05/12/2023, 4:27 PMrtyler
05/12/2023, 6:00 PM