xitongsys / parquet-go

pure golang library for reading/writing parquet file
Apache License 2.0
1.25k stars 294 forks source link

Read row at a specific position #518

Open salahuiste opened 1 year ago

salahuiste commented 1 year ago

hello guys is there a way to read data at specific position? i don't want to loop over the rows til i reach the position that i want (not very efficient) thank you in advance

hangxie commented 1 year ago

You can use SkipRows like https://github.com/hangxie/parquet-tools/blob/v1.19.3/cmd/cat.go#L109