code: private synchronized Schema getInputPathAvroSchema() throws IOException {
          if (inputPathAvroSchema == null) {
              // No need to query Hadoop more than once as this shouldn't change mid-run,
              // thus, we can lazily initialize and cache the result.
              inputPathAvroSchema = AvroUtils.getAvroSchemaFromPath(getInputPath());
          }
          return inputPathAvroSchema;
      }
docs: Get the Avro Schema of the input path, assuming the path contains just one
  schema version in all files under that path.