Hi,

I'm trying to write a simple Rust program that accesses a parquet file, looks 
for some values, and prints them.

I took the example from [1] and can pick up individual column values in each 
row by directly addressing them (e.g., record.get_long(147)) ). However, there 
are two problems with that:

1) It's unclear whether 147 is really the column I want to read.
2) If there's a change in the provided parquet file, all the absolute numbers 
may change.

I was hoping that there's a way to address an element through a hashmap as in 
record.get("foo"). Does the Rust API currently support this?

Thanks,
  Sebastian

[1] https://docs.rs/parquet/0.16.0/parquet/file/index.html

Reply via email to