@ConstantFunction(name = "replace", argTypes = {VARCHAR, VARCHAR, VARCHAR}, returnType = VARCHAR)
    public static ConstantOperator replace(ConstantOperator value, ConstantOperator target,
                                           ConstantOperator replacement) {
        return ConstantOperator.createVarchar(value.getVarchar().replace(target.getVarchar(), replacement.getVarchar()));
    }
@Test
    public void testReplace() {
        assertEquals("20240806", ScalarOperatorFunctions.replace(
                new ConstantOperator("2024-08-06", Type.VARCHAR),
                new ConstantOperator("-", Type.VARCHAR),
                new ConstantOperator("", Type.VARCHAR)
        ).getVarchar());
    }