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

Ryan Blue commented on PARQUET-130:
-----------------------------------

Is that a valid schema? If we were using just Avro for this, an arbitrary 
number of records would be serialized as 0 bytes... so I don't think it should 
work.

Why would you want to write a record with no data? I can see how this should be 
a valid read schema - if you want to count the number of records, but don't 
need any data - but, again, I don't think writing should succeed.

> Failed to read write avro data, when it has no fields
> -----------------------------------------------------
>
>                 Key: PARQUET-130
>                 URL: https://issues.apache.org/jira/browse/PARQUET-130
>             Project: Parquet
>          Issue Type: Bug
>            Reporter: Dmitriy
>
> Failed to write/read event when it created from following avro schema:
> {"namespace": "com.example.avro",
>  "type": "record",
>  "name": "UserTestTwo",
>  "fields": []
> }



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

Reply via email to