-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
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(localFile2))
.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
Reactions are currently unavailable