github.com/fraugster/parquet-go@v0.12.0/compatibility/run_tests.bash (about)

     1  #!/usr/bin/env bash
     2  
     3  function rebuild_and_compare() {
     4    comp=$1
     5    version=$2
     6    out="out-${comp}-${version}.parquet"
     7  
     8    /buildfile -compression ${comp} -version ${version} -json /data.json -pq /${out}
     9    /compare -json /data.json -pq /${out}
    10  }
    11  
    12  
    13  # Create file UNCOMPRESSED / V1
    14  rebuild_and_compare none v1
    15  rebuild_and_compare none v2
    16  rebuild_and_compare gzip v1
    17  rebuild_and_compare gzip v2
    18  rebuild_and_compare snappy v1
    19  rebuild_and_compare snappy v2
    20