| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.orc.write_table.html | [Back] [Original] |
Section Navigation
Write a table into an ORC file.
pyarrow.lib.TableThe table to be written into the ORC file
str or pyarrow.io.NativeFileWritable target. For passing Python file objects or byte buffers, see pyarrow.io.PythonFileInterface, pyarrow.io.BufferOutputStream or pyarrow.io.FixedSizeBufferWriter.
Determine which ORC file version to use. Hive 0.11 / ORC v0 is the older version while Hive 0.12 / ORC v1 is the newer one.
int, default 1024Number of rows the ORC writer writes at a time.
int, default 64 * 1024 * 1024Size of each ORC stripe in bytes.
str, default uncompressedThe compression codec. Valid values: {UNCOMPRESSED, SNAPPY, ZLIB, LZ4, ZSTD} Note that LZ0 is currently not supported.
int, default 64 * 1024Size of each compression block in bytes.
str, default speedThe compression strategy i.e. speed vs size reduction. Valid values: {SPEED, COMPRESSION}
int, default 10000The row index stride i.e. the number of rows per an entry in the row index.
double, default 0.0The padding tolerance.
double, default 0.0The dictionary key size threshold. 0 to disable dictionary encoding. 1 to always enable dictionary encoding.
None, set-like or list-like, default NoneColumns that use the bloom filter.
double, default 0.05Upper limit of the false-positive rate of the bloom filter.
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |