public static Struct convertToStruct(Schema schema, Object value) {
        return convertToStructInternal(STRUCT_SELECTOR_SCHEMA, value);
    }
@Test
    public void shouldConvertEmptyStruct() {
        Struct struct = new Struct(SchemaBuilder.struct().build());
        assertThrows(DataException.class, () -> Values.convertToStruct(struct.schema(), null));
        assertThrows(DataException.class, () -> Values.convertToStruct(struct.schema(), ""));
        Values.convertToStruct(struct.schema(), struct);
    }