Pyarrow version 0.12.1, arrow jar version 0.10, can run correctly. Pyarrow version 0.121, arrow jar version 0.12, this exception occurs:
Expected schema message in stream, was null or length 0

Pyarrow was upgraded to version 0.12.1 by other package dependency, resulting in inconsistency between python pkg and jar versions