Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.4
-
None
-
None
-
This is a bug fix. The functionality was brocken before this fix.
Description
In AvroTrevniOutputFormat there seems to be a cut and post error in the metadata filtering. The result is not "trevni.meta." metadatas will successfully get to the writer.
if (e.getKey().startsWith(META_PREFIX))
meta.put(e.getKey().substring(AvroJob.TEXT_PREFIX.length()),
e.getValue().getBytes(MetaData.UTF8));
META_PREFIX = "trevni.meta."
TEXT_PREFIX = "avro.meta.text."