parquet-avro/src/main/java/org/apache/parquet/avro/AvroParquetInputFormat.java
public static void setAvroReadSchema(Job job, Schema avroReadSchema) {
    AvroReadSupport.setAvroReadSchema(ContextUtil.getConfiguration(job), avroReadSchema);
  }
public static void setAvroReadSchema(Job job, Schema avroReadSchema) {
    AvroReadSupport.setAvroReadSchema(ContextUtil.getConfiguration(job), avroReadSchema);
  }
public static void setAvroReadSchema ( Job job , Schema avroReadSchema ) { AvroReadSupport . setAvroReadSchema ( ContextUtil . getConfiguration ( job ) , avroReadSchema ) ; }
Override the Avro schema to use for reading. If not set, the Avro schema used for
writing is used.
<p>
Differences between the read and write schemas are resolved using
<a href="http://avro.apache.org/docs/current/spec.html#Schema+Resolution">Avro's schema resolution rules</a>.
@param job a job
@param avroReadSchema the requested schema
@see #setRequestedProjection(org.apache.hadoop.mapreduce.Job, org.apache.avro.Schema)
@see org.apache.parquet.avro.AvroParquetOutputFormat#setSchema(org.apache.hadoop.mapreduce.Job, org.apache.avro.Schema)
Override the Avro schema to use for reading . If not set the Avro schema used for writing is used . <p > Differences between the read and write schemas are resolved using <a href = http : // avro . apache . org / docs / current / spec . html#Schema + Resolution > Avro s schema resolution rules< / a > .