tomnoah1 opened a new issue, #3014:
URL: https://github.com/apache/parquet-java/issues/3014
### Describe the bug, including details regarding any error messages,
version, and platform.
Version: 1.14.1
I got the following code:
```
(1) writer = AvroParquetWriter
.builder<GenericRecord>(ParquetOutputFile(localFile))
.withSchema(SCHEMA)
.build()
(2) writer.write(genericRecord)
(3) writer.close()
(4) writer = AvroParquetWriter
.builder<GenericRecord>(ParquetOutputFile(localFile))
.withSchema(SCHEMA)
.build()
```
After the third line, I can see the file with the data (genericRecord), and
read it.
For some reason, after the 4th line, the file is getting empty. It contains
no data and weight 0 bytes.
When trying to read it I am getting:
`File(<some_name>) cannot be read as parquet.
File matching that expression not found.`
Without the 4th line, the file and its content remains steady.
### Component(s)
_No response_
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]