How to read avro file with bytes schema using Avro C++ library -
i have avro file doesn't have json schema. has single field called "bytes" , value binary representation of object can decode. first few bytes of avro looks like;
bash-4.1$ hexdump -c ped.avro -n 32 0000000 o b j 001 002 026 v r o . s c h e m 0000010 016 " b y t e s " \0 [ 346 q 266 266 207
anyone familiar avro c or avro c++ libraries, can answer how read these bytes field?
avro c: http://avro.apache.org/docs/1.7.7/api/c/index.html avro c++: http://avro.apache.org/docs/1.7.5/api/cpp/html/
i don't believe there way read avro data avro c or c++ libraries if have no schema. avro supposed have schema , without there number of possible schemas fit data.
Comments
Post a Comment