@Override
    public RexNode visit(CallExpression call) {
        boolean isBatchMode = unwrapContext(relBuilder).isBatchMode();
        for (CallExpressionConvertRule rule : getFunctionConvertChain(isBatchMode)) {
            Optional<RexNode> converted = rule.convert(call, newFunctionContext());
            if (converted.isPresent()) {
                return converted.get();
            }
        }
        throw new RuntimeException("Unknown call expression: " + call);
    }
@Test
    void testTimeLiteralBiggerPrecision() {
        RexNode rex =
                converter.visit(
                        valueLiteral(
                                LocalTime.parse("12:12:12.12345"), DataTypes.TIME(5).notNull()));
        // TODO planner supports up to TIME(3)
        assertThat(((RexLiteral) rex).getValueAs(TimeString.class))
                .isEqualTo(new TimeString("12:12:12.123"));
        assertThat(rex.getType().getSqlTypeName()).isEqualTo(SqlTypeName.TIME);
        assertThat(rex.getType().getPrecision()).isEqualTo(3);
    }