yugu created PARQUET-1047:
-----------------------------

             Summary: Anyway to write empty row group?
                 Key: PARQUET-1047
                 URL: https://issues.apache.org/jira/browse/PARQUET-1047
             Project: Parquet
          Issue Type: Bug
          Components: parquet-cpp
    Affects Versions: cpp-1.1.0
            Reporter: yugu


[Error]
So I'm trying to write only header information (column names and such).
{code:java}
parquet::RowGroupWriter* rg_writer =
                file_writer->AppendRowGroup(0);
for (i = 0; i < Cols; i++){
parquet::BoolWriter* writer = 
static_cast<parquet::BoolWriter*>(rg_writer->NextColumn());
writer->WriteBatch(0, nullptr, nullptr, nullptr);
}
{code}
The problem is that when trying to close the file_writer, the program throws:

{code:java}
Parquet what error: Parquet Write error: Column 3 is not complete.
{code}





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to