You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Dragan Markovic (JIRA)" <ji...@apache.org> on 2018/07/18 21:17:00 UTC

[jira] [Created] (PARQUET-1352) [CPP] Trying to write an arrow table with structs to a parquet file

Dragan Markovic created PARQUET-1352:
----------------------------------------

             Summary: [CPP] Trying to write an arrow table with structs to a parquet file
                 Key: PARQUET-1352
                 URL: https://issues.apache.org/jira/browse/PARQUET-1352
             Project: Parquet
          Issue Type: Bug
          Components: parquet-cpp
    Affects Versions: cpp-1.4.0
            Reporter: Dragan Markovic


Relevant issue:[https://github.com/apache/arrow/issues/2287]

 

I'm creating a struct with the following schema in arrow:

 

message schema {
optional group MyStruct {
    required binary str (UTF8);  // I tried both optional and required here
    }
}

 

When I try to convert that table to a .parquet file, the file gets created with a valid schema (the one I posted above) and then throws this exception: "lemented: Level generation for Struct not supported yet".

 

Here's the code: [https://ideone.com/DJkKUF]

 

Is there any way to write arrow table of structs to a .parquet file in cpp? 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)