[ 
https://issues.apache.org/jira/browse/PARQUET-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15836826#comment-15836826
 ] 

Deepak Majeti commented on PARQUET-838:
---------------------------------------

I get the following error. It goes away if I do not set the field_id in the 
SchemaElement.

$ java -jar parquet-tools-1.9.0.jar cat parquet_cpp_example.parquet 

Could not read footer: java.lang.RuntimeException: 
shaded.parquet.org.codehaus.jackson.map.JsonMappingException: No serializer 
found for class org.apache.parquet.schema.Type$ID and no properties discovered 
to create BeanSerializer (to avoid exception, disable 
SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: 
org.apache.parquet.hadoop.metadata.ParquetMetadata["fileMetaData"]->org.apache.parquet.hadoop.metadata.FileMetaData["schema"]->org.apache.parquet.schema.MessageType["fields"]->java.util.ArrayList[0]->org.apache.parquet.schema.PrimitiveType["id"])


> [CPP] Unable to read files written by parquet-cpp from parquet-tools
> --------------------------------------------------------------------
>
>                 Key: PARQUET-838
>                 URL: https://issues.apache.org/jira/browse/PARQUET-838
>             Project: Parquet
>          Issue Type: Bug
>            Reporter: Deepak Majeti
>            Assignee: Deepak Majeti
>         Attachments: parquet_cpp_example.parquet
>
>
> I could not read files written by parquet-cpp from parquet-tools and Hive.
> Setting field ids in the schema metadata seems to be the problem. We should 
> make setting the field_id optional.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to