I'm writing app that processing an unbound stream of filenames and then catalogs them. What I'd like to do is to parse the files using AvroIO, but have each record entry paired with the original filename as a key.
In the past I've used the combo FileIO.matchAll() -> FileIO.readMatches() -> AvroIO.readFilesGenericRecords(), but that looses the context of the original filename. Is there a way to do this without reimplementing AvroIO? Appreciate the help. -- Tim. -- Sent with Tutanota, the secure & ad-free mailbox: https://tutanota.com