Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # user >> Random access in an avro file

Copy link to this message
Random access in an avro file

Is it possible to have random access to a record in an avro file? For
instance, if I have an avro file with a schema containing four
records: *employee
id, name, address *and* phone*. While reading the file, is there any way at
all to directly jump to a record with employee id 100 instead of having to
scan the whole file every single time and filtering out records?

Thanks for the help.