After digging the code a bit, it looks like: (1) pyarrow.read_schema should be changed to pyarrow.ipc.read_schema (2) chunksize should be changed to max_chunksize (it was passed in as a generic kwargs before and I am guessing it was a wrong in the first place)
These seem to be easy enough to fix but just wondering in general where do I look first if I hit this sort of issue in the future. On Fri, Sep 9, 2022 at 12:20 PM Li Jin <ice.xell...@gmail.com> wrote: > Hi, > > I am trying to update Pyarrow from 7.0 to 9.0 and hit a couple of issues > that I believe are because of some API changes. In particular, two issues I > saw seems to be > > (1) pyarrow.read_schema is removed > (2) pa.Table.to_batches no longer takes a keyword argument (chunksize) > > What's the best way to find API change notes and fix it? > > Thanks, > Li >