Workaround to get avro schema and add getPath to KafkaSplit