/** * Helper function reads the input avro schema from the UDF * Properties. * @return The input avro schema */ public final Schema getInputAvroSchema() { if (schema == null) { updateSchemaFromInputAvroSchema(); } return schema; }
@Override public final void setUDFContextSignature(final String signature) { udfContextSignature = signature; super.setUDFContextSignature(signature); updateSchemaFromInputAvroSchema(); }