pyarrow_test.py: changed compression to BROTLI, fixed encoding in text
This commit is contained in:
parent
3618ed9ee8
commit
2e8fea74a6
5
lib/pyarrow_arm/build_and_test.sh
Normal file
5
lib/pyarrow_arm/build_and_test.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker build . --tag=pyarrowbuild:latest
|
||||||
|
|
||||||
|
docker run -it pyarrowbuild:latest /bin/bash
|
@ -10,8 +10,8 @@ print(tb)
|
|||||||
|
|
||||||
parquetfile = 'pressureVacuum.parquet'
|
parquetfile = 'pressureVacuum.parquet'
|
||||||
|
|
||||||
pq.write_table(tb,parquetfile,compression='SNAPPY')
|
pq.write_table(tb,parquetfile,compression='BROTLI')
|
||||||
# {‘NONE’, ‘SNAPPY’, ‘GZIP’, ‘LZO’, ‘BROTLI’, ‘LZ4’, ‘ZSTD’}
|
# {'NONE', 'SNAPPY', 'GZIP', 'LZO', 'BROTLI', 'LZ4', 'ZSTD'}
|
||||||
|
|
||||||
df = pq.read_table(parquetfile,columns=None)
|
df = pq.read_table(parquetfile,columns=None)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user