[
https://issues.apache.org/jira/browse/DRILL-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13997282#comment-13997282
]
Aditya Kishore edited comment on DRILL-722 at 5/14/14 5:08 AM:
---------------------------------------------------------------
The other issue that I noticed is that {{ParquetRecordWriter.flush()}} can be
called (via {{ParquetRecordWriter.cleanup()}}) which in turn calls
{{w.startBlock(recordCount);}} without checking if {{recordCount > 0}} and
result in an exception.
was (Author: adityakishore):
The other issue that I noticed is that
{{org.apache.drill.exec.store.parquet.ParquetRecordWriter.flush()}} can be
called (via
{{org.apache.drill.exec.store.parquet.ParquetRecordWriter.cleanup()}}) which in
turn calls {{w.startBlock(recordCount);}}
> Intermittent failures in TestParquetWriter
> ------------------------------------------
>
> Key: DRILL-722
> URL: https://issues.apache.org/jira/browse/DRILL-722
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Steven Phillips
> Assignee: Steven Phillips
> Attachments: DRILL-722.patch
>
>
> The problem seems to be that ParquetReader, when reading a Decimal28 or
> Decimal38 type, needs to zero-out the ByteBuf that the value is being written
> to.
--
This message was sent by Atlassian JIRA
(v6.2#6252)