pitrou commented on code in PR #45:
URL: https://github.com/apache/parquet-testing/pull/45#discussion_r1445876663
##########
data/byte_stream_split.zstd.parquet.md:
##########
@@ -0,0 +1,27 @@
+`byte_stream_split.zstd.parquet` is generated by pyarrow 14.0.2 using the
following code:
+
+```python
+import pyarrow as pa
+from pyarrow import parquet as pq
+import numpy as np
+
+np.random.seed(0)
+table = pa.Table.from_pydict({
+ 'f32': np.random.normal(size=300).astype(np.float32),
+ 'f64': np.random.normal(size=300).astype(np.float64),
+})
+
+f = '/Users/martin/Downloads/byte_stream_split.parquet'
Review Comment:
Just writing into the current directory would make this script more readily
usable.
--
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]