public Expression rewrite(final Expression expression) {
    return new ExpressionTreeRewriter<>(new OperatorPlugin()::process)
        .rewrite(expression, null);
  }
@Test
  public void shouldNotReplaceArithmetic() {
    // Given:
    final Expression predicate = getPredicate(
        "SELECT * FROM orders where '2017-01-01' + 10000 > ROWTIME;");

    // When:
    final Expression rewritten = rewriter.rewrite(predicate);

    // Then:
    verify(parser, never()).parse(any());
    assertThat(rewritten.toString(), containsString("(('2017-01-01' + 10000) > ORDERS.ROWTIME)"));
  }