public static Schema convertToSchema(LogicalType schema) {
        return convertToSchema(schema, true);
    }
@Test
    void testInvalidRawTypeAvroSchemaConversion() {
        RowType rowType =
                (RowType)
                        ResolvedSchema.of(
                                        Column.physical("a", DataTypes.STRING()),
                                        Column.physical(
                                                "b",
                                                DataTypes.RAW(Void.class, VoidSerializer.INSTANCE)))
                                .toSourceRowDataType()
                                .getLogicalType();

        assertThatThrownBy(() -> AvroSchemaConverter.convertToSchema(rowType))
                .isInstanceOf(UnsupportedOperationException.class)
                .hasMessageStartingWith("Unsupported to derive Schema for type: RAW");
    }