public static BigDecimal toLogical(Schema schema, byte[] value) {
        return new BigDecimal(new BigInteger(value), scale(schema));
    }
@Test
    public void testToLogical() {
        Schema schema = Decimal.schema(2);
        BigDecimal converted = Decimal.toLogical(schema, TEST_BYTES);
        assertEquals(TEST_DECIMAL, converted);

        converted = Decimal.toLogical(schema, TEST_BYTES_NEGATIVE);
        assertEquals(TEST_DECIMAL_NEGATIVE, converted);
    }