How to use Pyarrow to achieve stream writing effect
问题 The data I have is a kind of streaming data. And I want to store them into a single Parquet file. But Pyarrow will overwrite the Parquet file everytime. So How should I do? I try not to close the writer but it seems impossible since If I didn't close it, then I could not read this file. Here is the package: import pyarrow.parquet as pp import pyarrow as pa for name in ['LEE','LSY','asd','wer']: writer=pq.ParquetWriter('d:/test.parquet', table.schema) arrays=[pa.array([name]),pa.array([2])]