mapleFU opened a new pull request, #71:
URL: https://github.com/apache/parquet-testing/pull/71
File created by the scripts below:
```python
import pyarrow as pa
import pyarrow.parquet as pq
# Create an array of 10 null values with integer type
data = [None] * 10
int_column = pa.array(data, type=pa.int32())
# Create a table with one column
table = pa.Table.from_arrays([int_column], names=['integer_column'])
# Write the table to a parquet file with specified settings
pq.write_table(
table,
'null_integers.parquet',
version='2.0', # Ensures DataPageV2
compression='zstd', # Zstandard compression
data_page_version='2.0' # Explicitly set DataPageV2
)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]