Hi all, I encountered a possible bug in the Avro C API. If the following is done, it seems that the Avro data file reader can not read the file correctly
while (has values to write) {
Open file for writing
Write a value to the file
Close the writer.
}
However, the following can be read just fine
Open file for writing
while (has values to write) {
Write a value to the file
}
Close the file
Here it is assumed that reading and writing is done with the C API. The Java
API can read data files written in C in both ways.
Is this expected behaviour, a bug or am I just missing something? See the
attached C program that reproduces this problem.
Thanks
-Mika
main.c
Description: Binary data
