public static SchemaBuilder builder(int scale) {
        return SchemaBuilder.bytes()
                .name(LOGICAL_NAME)
                .parameter(SCALE_FIELD, Integer.toString(scale))
                .version(1);
    }
@Test
    public void testBuilder() {
        Schema plain = Decimal.builder(2).build();
        assertEquals(Decimal.LOGICAL_NAME, plain.name());
        assertEquals(Collections.singletonMap(Decimal.SCALE_FIELD, "2"), plain.parameters());
        assertEquals(1, (Object) plain.version());
    }