sunchao / parquet-rs

Apache Parquet implementation in Rust
Apache License 2.0
149 stars 20 forks source link

Static lifetime issues #143

Closed gnieto closed 6 years ago

gnieto commented 6 years ago

While working on adding support to read from a generic Read, I've found that there are some usability issues derived from the usage of 'static lifetime and/or Boxing.

For example, even if the reader is now generic, only static data can be parsed from a cursor. You can see an example on the description of this PR: https://github.com/sunchao/parquet-rs/pull/142

sadikovi commented 6 years ago

Sorry for the first edit, that was not nice. Should we try fixing the underlying problem first, since the generic reader suffers from that problem as well? We should scope the work and come up with subtasks, if possible.

sunchao commented 6 years ago

Closing this as the related PR is merged already. @gnieto : feel free to re-open if you think there's more issues related to static lifetime.