arrow-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Sachs <jmsa...@gmail.com>
Subject How to write Arrow Table to Parquet file in Java
Date Thu, 12 Nov 2020 21:44:21 GMT
The Python examples in https://arrow.apache.org/docs/python/parquet.html are wonderful and
really easy to get started; in particular this one:

    writer = pq.ParquetWriter('example2.parquet', table.schema)
    for i in range(3):
        writer.write_table(table)
    writer.close()

How would I do something similar in Java? Arrow and Parquet libraries don't seem to know about
one another.

I have looked a little bit at the Javadocs at https://www.javadoc.io/doc/org.apache.parquet/parquet-column/1.10.0/index.html
but my head is spinning. (although for the record most of my work is in Python and a coworker
is handling the Java side... he is only slightly less confused, though)

Mime
View raw message