On this page:
2.1 File Handling
open-input-parquet-file
close-parquet-file
2.2 Decoding
read-metadata
2.3 Command Line Launcher
7.7

2 Module file.

 (require parquet/file) package: parquet

Read/Write Apache Parquet format files.

Examples:
> (require parquet/file
           parquet/generated/parquet
           thrift/transport/common)
> (define tport (open-input-parquet-file "../test-data/nation.impala.parquet"))

file-not-exists: arity mismatch;

 the expected number of arguments does not match the given

number

  expected: 2

  given: 1

  arguments...:

   #<continuation-mark-set>

> (define metadata (read-metadata tport))

tport: undefined;

 cannot reference an identifier before its definition

  in module: top-level

> (displayln (format "File Metadata: ~a, Version: ~a, Num Rows: ~a"
                     (transport-source tport)
                     (file-metadata-version metadata)
                     (file-metadata-num-rows metadata)))

tport: undefined;

 cannot reference an identifier before its definition

  in module: top-level

> (close-parquet-file tport)

tport: undefined;

 cannot reference an identifier before its definition

  in module: top-level

2.1 File Handling

procedure

(open-input-parquet-file file-path)  transport?

  file-path : string?
TBD

procedure

(close-parquet-file transport)  void?

  transport : transport?
TBD

2.2 Decoding

procedure

(read-metadata transport)  file-metadata?

  transport : transport?
TBD

2.3 Command Line Launcher

TBD

rparquet [ <option> ... ] <file-path>

 where <option> is one of

  -v, --verbose : Compile with verbose messages

  -V, --very-verbose : Compile with very verbose messages

  --help, -h : Show this help

  -- : Do not treat any remaining argument as a switch (at this level)

 Multiple single-letter switches can be combined after one `-'; for

  example: `-h-' is the same as `-h --'