Skip to content

Column of complex type array #275

Answered by adamreeve
nchabra asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @nchabra, this isn't currently possible with the row-oriented API but we do want to improve support for nested data in the future. This can be done with the lower level API but gets pretty complicated as you have to manage specifying repetition levels and definition levels yourself.

If you then want to read data back with ParquetSharp you can either use the low level ColumnReader.ReadBatch method to reconstruct the data yourself using the definition and repetition levels, or you can use the LogicalColumnReader API which will let you read the leaf level column data (eg. all field1 values as an array of arrays and a separate column of field2 values) but there are some limitations to inte…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nchabra
Comment options

Answer selected by nchabra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants