gszadovszky commented on a change in pull request #620:
URL: https://github.com/apache/parquet-mr/pull/620#discussion_r460799987
##########
File path:
parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnWriterBase.java
##########
@@ -305,6 +305,9 @@ long getRowsWrittenSoFar() {
* Writes the current data to a new page in the page store
*/
void writePage() {
+ if (valueCount == 0) {
+ throw new ParquetEncodingException("writing empty page");
Review comment:
You may check my answer at the referenced StackOverFlow thread.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]