[
https://issues.apache.org/jira/browse/PARQUET-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16033781#comment-16033781
]
Deepak Majeti commented on PARQUET-1014:
----------------------------------------
Hi [~elderrex],
The example at {{examples/reader-writer.cc:}} adds a single rowgroup. To add
another rowgroup, you just need to call
{{file_writer->AppendRowGroup(NUM_ROWS_PER_ROW_GROUP)}} at
{{examples/reader-writer.cc:123}} again.
You will need def/rep levels for all types including the primitive types like
int64_t.
Do you have a reproducer for the crash?
Thanks!
> Example for multiple row group writer (cpp)
> -------------------------------------------
>
> Key: PARQUET-1014
> URL: https://issues.apache.org/jira/browse/PARQUET-1014
> Project: Parquet
> Issue Type: Improvement
> Components: parquet-cpp
> Affects Versions: cpp-1.1.0
> Reporter: yugu
> Fix For: cpp-1.1.0
>
>
> Been looking through the repo and cannot find an example for multiple row
> group writer.
> Probably missed that. Would be great if you guys can point it out ! : D
> Thanks!
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)