Schema getAvroCompatibleSchema() {
    return avroCompatibleSchema;
  }
@Test
  public void shouldDropOptionalFromRootStructSchema() {
    // Given:
    final Schema schema = SchemaBuilder
        .struct()
        .field("COLUMN_NAME", Schema.OPTIONAL_INT64_SCHEMA)
        .optional()
        .build();

    // When:
    final AvroDataTranslator translator =
        new AvroDataTranslator(schema, AvroProperties.DEFAULT_AVRO_SCHEMA_FULL_NAME);

    // Then:
    assertThat("Root required", translator.getAvroCompatibleSchema().isOptional(), is(false));
  }